Pular para o conteúdo principal

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
NOMETIPODESCRIÇÃO
filestring
Retorno

( boolean )


getInstance


_service.getInstance(proteu: org.netuno.proteu.Proteu) : Service

Atributos
NOMETIPODESCRIÇÃO
proteuorg.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
NOMETIPODESCRIÇÃO
valueboolean
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
NOMETIPODESCRIÇÃO
proteuorg.netuno.proteu.Proteu
hiliorg.netuno.tritao.hili.Hili
filestring
Retorno

( boolean )


setNotFoundDefaultError


_service.setNotFoundDefaultError(value: boolean) : void

Atributos
NOMETIPODESCRIÇÃO
valueboolean
Retorno

( void )


wasCancelled


_service.wasCancelled() : boolean

Retorno

( boolean )