Skip to main content

Template

Recurso de gestão de templates. Este recurso permite a manipulação de templates com base no motor de templates do Apache Velocity


get


_template.get(name: string) : string

Attributes
NAMETYPEDESCRIPTION
namestring
Return

( string )


_template.get(name: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : string

Attributes
NAMETYPEDESCRIPTION
namestring
dataConfig | Exec | Header | Req | Res | Values | DataSchema
Return

( string )


_template.get(name: string, data: Values) : string

Attributes
NAMETYPEDESCRIPTION
namestring
dataValues
Return

( string )


getOutput


_template.getOutput(name: string) : string

Attributes
NAMETYPEDESCRIPTION
namestring
Return

( string )


_template.getOutput(name: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : string

Attributes
NAMETYPEDESCRIPTION
namestring
dataConfig | Exec | Header | Req | Res | Values | DataSchema
Return

( string )


_template.getOutput(name: string, data: Values) : string

Attributes
NAMETYPEDESCRIPTION
namestring
dataValues
Return

( string )


init


_template.init() : Template

Return

( Template )


initCore


_template.initCore() : Template

Return

( Template )


out


_template.out(name: string) : void

Attributes
NAMETYPEDESCRIPTION
namestring
Return

( void )


_template.out(name: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : void

Attributes
NAMETYPEDESCRIPTION
namestring
dataConfig | Exec | Header | Req | Res | Values | DataSchema
Return

( void )


_template.out(name: string, data: Values) : void

Attributes
NAMETYPEDESCRIPTION
namestring
dataValues
Return

( void )


output


_template.output(name: string) : void

Attributes
NAMETYPEDESCRIPTION
namestring
Return

( void )


_template.output(name: string, data: Config | Exec | Header | Req | Res | Values | DataSchema) : void

Attributes
NAMETYPEDESCRIPTION
namestring
dataConfig | Exec | Header | Req | Res | Values | DataSchema
Return

( void )


_template.output(name: string, data: Values) : void

Attributes
NAMETYPEDESCRIPTION
namestring
dataValues
Return

( void )