Service
Gere a execução dos scripts de serviços em server/services.
Este recurso está disponível apenas no contexto de execução dos serviços (
services).
allow
_service.allow() : void
Retorno
( void )
cancel
_service.cancel() : void
Retorno
( void )
defaultEmptyOutput
_service.defaultEmptyOutput() : void
Retorno
( void )
deny
_service.deny() : void
Retorno
( void )
execute
_service.execute(file: string) : boolean
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| file | string |
Retorno
( boolean )
getInstance
_service.getInstance(proteu: org.netuno.proteu.Proteu) : Service
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| proteu | org.netuno.proteu.Proteu |
Retorno
( Service )
getMethod
_service.getMethod() : string
Retorno
( string )
getMethods
_service.getMethods() : java.util.List<string>
Retorno
( java.util.List )
getPath
_service.getPath() : string
Retorno
( string )
isAllowed
_service.isAllowed() : boolean
Retorno
( boolean )
isDenied
_service.isDenied() : boolean
Retorno
( boolean )
isGeneratingOpenAPIDefinition
_service.isGeneratingOpenAPIDefinition() : boolean
Retorno
( boolean )
isMethod
_service.isMethod() : boolean
Retorno
( boolean )
isNotFoundDefaultError
_service.isNotFoundDefaultError() : boolean
Retorno
( boolean )
method
_service.method() : string
Retorno
( string )
notFoundDefaultError
_service.notFoundDefaultError() : boolean
Retorno
( boolean )
_service.notFoundDefaultError(value: boolean) : void
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| value | boolean |
Retorno
( void )
path
_service.path() : string
Retorno
( string )
runCoreScript
_service.runCoreScript(proteu: org.netuno.proteu.Proteu, hili: org.netuno.tritao.hili.Hili, file: string) : boolean
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| proteu | org.netuno.proteu.Proteu | |
| hili | org.netuno.tritao.hili.Hili | |
| file | string |
Retorno
( boolean )
setNotFoundDefaultError
_service.setNotFoundDefaultError(value: boolean) : void
Atributos
| NOME | TIPO | DESCRIÇÃO |
|---|---|---|
| value | boolean |
Retorno
( void )
wasCancelled
_service.wasCancelled() : boolean
Retorno
( boolean )