Exec
Functionalities to aid code execution. It performs the execution of other scripts, it also supports the execution of scripts in other programming languages. Executes the indicated script, returning its output. Main functions:
// Run another App script in `server/core/`
const outputOutput = _exec.core("other-script");
// Run another App script in `server/services/`
const outputService = _exec.service("other-service");
// Pause for 2 seconds:`
_exec.sleep(2000);
// Execution stop:`
_exec.stop();
add
_exec.add(index: int, element: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
element | java.lang.Object |
Return
( Values )
_exec.add(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
addAll
_exec.addAll(index: int, c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
c | java.util.Collection |
Return
( boolean )
_exec.addAll(c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Collection |
Return
( boolean )
afterClose
_exec.afterClose(function: java.util.function.Function) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | java.util.function.Function |
Return
( void )
as
_exec.as(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
_exec.as(o: java.lang.Object, oDefault: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object | |
oDefault | java.lang.Object |
Return
( Values )
asBoolean
_exec.asBoolean(index: int) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( boolean )
_exec.asBoolean(index: int, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | boolean |
Return
( boolean )
_exec.asBoolean(key: string) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( boolean )
_exec.asBoolean(key: string, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | boolean |
Return
( boolean )
asByte
_exec.asByte(index: int) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( byte )
_exec.asByte(index: int, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | byte |
Return
( byte )
_exec.asByte(key: string, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | byte |
Return
( byte )
asCalendar
_exec.asCalendar(key: string) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Calendar )
_exec.asCalendar(key: string, defaultValue: java.util.Calendar) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Calendar |
Return
( java.util.Calendar )
asDate
_exec.asDate(key: string) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Date )
_exec.asDate(key: string, defaultValue: java.util.Date) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Date |
Return
( java.util.Date )
asDouble
_exec.asDouble(index: int) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( double )
_exec.asDouble(index: int, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | double |
Return
( double )
_exec.asDouble(key: string) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( double )
_exec.asDouble(key: string, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | double |
Return
( double )
asFile
_exec.asFile(key: string) : File
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( File )
asFloat
_exec.asFloat(index: int) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( float )
_exec.asFloat(index: int, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | float |
Return
( float )
_exec.asFloat(key: string) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( float )
_exec.asFloat(key: string, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | float |
Return
( float )
asHTMLDecode
_exec.asHTMLDecode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
asHTMLEncode
_exec.asHTMLEncode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
asInstant
_exec.asInstant(key: string) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.Instant )
_exec.asInstant(key: string, defaultValue: java.time.Instant) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.Instant |
Return
( java.time.Instant )
asInt
_exec.asInt(index: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( int )
_exec.asInt(index: int, defaultValue: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | int |
Return
( int )
_exec.asInt(key: string, defaultValue: short) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | short |
Return
( int )
asList
_exec.asList(index: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( java.util.List )
_exec.asList(index: int, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.asList(index: int, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object |
Return
( java.util.List )
_exec.asList(index: int, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.asList(key: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.List )
_exec.asList(key: string, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.asList(key: string, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object |
Return
( java.util.List )
_exec.asList(key: string, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
asLocalDate
_exec.asLocalDate(key: string) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDate )
_exec.asLocalDate(key: string, defaultValue: java.time.LocalDate) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDate |
Return
( java.time.LocalDate )
asLocalDateTime
_exec.asLocalDateTime(key: string) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDateTime )
_exec.asLocalDateTime(key: string, defaultValue: java.time.LocalDateTime) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDateTime |
Return
( java.time.LocalDateTime )
asLocalTime
_exec.asLocalTime(key: string) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalTime )
_exec.asLocalTime(key: string, defaultValue: java.time.LocalTime) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalTime |
Return
( java.time.LocalTime )
asLong
_exec.asLong(index: int) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( long )
_exec.asLong(index: int, defaultValue: long) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | long |
Return
( long )
_exec.asLong(key: string) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( long )
_exec.asLong(key: string, defaultValue: long) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | long |
Return
( long )
asMap
_exec.asMap(index: int) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.asMap(index: int, defaultValue: java.lang.Object) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.asMap(key: string) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.asMap(key: string, defaultValue: java.lang.Object) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
asSQLDate
_exec.asSQLDate(key: string) : java.sql.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Date )
_exec.asSQLDate(key: string, defaultValue: java.sql.Date) : java.sql.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Date |
Return
( java.sql.Date )
asSQLTime
_exec.asSQLTime(key: string) : java.sql.Time
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Time )
_exec.asSQLTime(key: string, defaultValue: java.sql.Time) : java.sql.Time
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Time |
Return
( java.sql.Time )
asSQLTimestamp
_exec.asSQLTimestamp(key: string) : java.sql.Timestamp
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Timestamp )
_exec.asSQLTimestamp(key: string, defaultValue: java.sql.Timestamp) : java.sql.Timestamp
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Timestamp |
Return
( java.sql.Timestamp )
asShort
_exec.asShort(index: int) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( short )
_exec.asShort(index: int, defaultValue: short) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | short |
Return
( short )
_exec.asShort(key: string) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( short )
_exec.asShort(key: string, defaultValue: short) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | short |
Return
( short )
asString
_exec.asString(index: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( string )
_exec.asString(index: int, defaultValue: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | string |
Return
( string )
_exec.asString(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
_exec.asString(key: string, defaultValue: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( string )
_exec.asString(key: string, defaultValue: string, charsetName: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string | |
charsetName | string |
Return
( string )
asUID
_exec.asUID(key: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.UUID )
_exec.asUID(key: string, defaultValue: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( java.util.UUID )
_exec.asUID(key: string, defaultValue: java.util.UUID) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.UUID |
Return
( java.util.UUID )
asUUID
_exec.asUUID(key: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.UUID )
_exec.asUUID(key: string, defaultValue: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( java.util.UUID )
_exec.asUUID(key: string, defaultValue: java.util.UUID) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.UUID |
Return
( java.util.UUID )
asValues
_exec.asValues(index: int) : Values
Description
Gets the object associated with the index and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | The index to get the associated object. |
Return
( Values )
Object converted to Values.
_exec.asValues(index: int, defaultValue: java.lang.Object) : Values
Description
Gets the object associated with the index and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | The index to get the associated object. |
defaultValue | java.lang.Object | If it fails to get the value as an object in Values then it returns this default value instead. |
Return
( Values )
Object converted to Values.
_exec.asValues(key: string) : Values
Description
Gets the object associated with the key and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | The key to get the associated object. |
Return
( Values )
Object converted to Values.
_exec.asValues(key: string, defaultValue: java.lang.Object) : Values
Description
Gets the object associated with the key and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | The key to get the associated object. |
defaultValue | java.lang.Object | If it fails to get the value as an object in Values then it returns this default value instead. |
Return
( Values )
Object converted to Values.
beforeClose
_exec.beforeClose(function: java.util.function.Function) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | java.util.function.Function |
Return
( void )
bind
_exec.bind(key: string, value: java.lang.Object) : Exec
Description
Transitions variables between scripts, including between different programming languages.
How To Use
const originalVar = "test";
_exec .bind("transitVar", originalVar) .core("another-script-maybe-in-another-language");
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | Variable name that will be available in the other script that will be executed. |
value | java.lang.Object | Object to be passed to the other script that will be executed. |
Return
( Exec )
clear
_exec.clear() : void
Return
( void )
cloneJSON
_exec.cloneJSON() : Values
Return
( Values )
compute
_exec.compute(arg0: java.lang.Object, arg1: java.util.function.BiFunction) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.util.function.BiFunction |
Return
( java.lang.Object )
computeIfAbsent
_exec.computeIfAbsent(arg0: java.lang.Object, arg1: java.util.function.Function) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.util.function.Function |
Return
( java.lang.Object )
computeIfPresent
_exec.computeIfPresent(arg0: java.lang.Object, arg1: java.util.function.BiFunction) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.util.function.BiFunction |
Return
( java.lang.Object )
contains
_exec.contains(o: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( boolean )
_exec.contains(key: string, value: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | java.lang.Object |
Return
( boolean )
containsAll
_exec.containsAll(c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Collection |
Return
( boolean )
containsKey
_exec.containsKey(key: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | java.lang.Object |
Return
( boolean )
containsValue
_exec.containsValue(value: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object |
Return
( boolean )
core
_exec.core(path: string) : ScriptResult
Description
Execution of scripts that are in the server/core/
folder.
How To Use
_exec.core("another-script-maybe-in-another-language");
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | string | Script path with source in core/ to execute. |
Return
( ScriptResult )
_exec.core(path: string, path: boolean) : ScriptResult
Description
Execution of scripts that are in the server/core/
folder.
How To Use
_exec.core("another-script-maybe-in-another-language");
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | string | Script path with source in core/ to execute. |
path | boolean | Script path with source in core/ to execute. |
Return
( ScriptResult )
ensureJail
_exec.ensureJail(jailPath: string) : void
Description
Set the security restriction on a specific directory for processed objects of the file type, it can only be set once.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
jailPath | string | Path where files will be restricted. |
Return
( void )
entrySet
_exec.entrySet() : java.util.Set
Return
( java.util.Set )
filter
_exec.filter(p: java.util.function.Predicate) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
p | java.util.function.Predicate |
Return
( Values )
_exec.filter(function: org.graalvm.polyglot.Value) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( Values )
find
_exec.find(key: string, value: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | java.lang.Object |
Return
( Values )
_exec.find(p: java.util.function.Predicate) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
p | java.util.function.Predicate |
Return
( java.lang.Object )
_exec.find(function: org.graalvm.polyglot.Value) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( java.lang.Object )
_exec.find(filter: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
filter | Values |
Return
( Values )
forEach
_exec.forEach(action: java.util.function.BiConsumer) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
action | java.util.function.BiConsumer |
Return
( void )
_exec.forEach(action: java.util.function.Consumer) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
action | java.util.function.Consumer |
Return
( void )
_exec.forEach(function: org.graalvm.polyglot.Value) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( void )
forceList
_exec.forceList() : Values
Return
( Values )
forceMap
_exec.forceMap() : Values
Return
( Values )
fromJSON
_exec.fromJSON(content: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string |
Return
( Values )
_exec.fromJSON(content: org.netuno.psamata.net.Remote$Response) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | org.netuno.psamata.net.Remote$Response |
Return
( Values )
functions
_exec.functions() : Functions
Description
Manages the execution of functions.
Return
( Functions )
_exec.functions(functions: [Ljava.util.function.Function;[]) : Functions
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
functions | [Ljava.util.function.Function;[] |
Return
( Functions )
_exec.functions(data: java.lang.Object) : Functions
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | java.lang.Object |
Return
( Functions )
_exec.functions(data: java.lang.Object, functions: [Ljava.util.function.Function;[]) : Functions
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | java.lang.Object | |
functions | [Ljava.util.function.Function;[] |
Return
( Functions )
gc
_exec.gc() : void
Description
Performs memory cleanup by running the garbage collector (JVM garbage collector).
How To Use
// Free up memory by running Garbage Collector:
_exec.gc();
Return
( void )
get
_exec.get(key: int) : java.lang.Object
Description
Gets the original object associated with the key.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | int | Key to get the object to associate. |
Return
( java.lang.Object )
Original object without conversions.
_exec.get(key: java.lang.Object) : java.lang.Object
Description
Gets the original object associated with the key.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | java.lang.Object | Key to get the object to associate. |
Return
( java.lang.Object )
Original object without conversions.
_exec.get(key: string) : java.lang.Object
Description
Gets the original object associated with the key.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | Key to get the object to associate. |
Return
( java.lang.Object )
Original object without conversions.
_exec.get(key: string, type: java.lang.Class) : java.lang.Object
Description
Gets the original object associated with the key, but cast for the specified class type.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | Key to get the associated object. |
type | java.lang.Class | Class representing the type of object that should be cast. |
Return
( java.lang.Object )
Original object converted to the type of the defined class.
getBoolean
_exec.getBoolean(index: int) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( boolean )
_exec.getBoolean(index: int, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | boolean |
Return
( boolean )
_exec.getBoolean(key: string) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( boolean )
_exec.getBoolean(key: string, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | boolean |
Return
( boolean )
getByte
_exec.getByte(index: int) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( byte )
_exec.getByte(index: int, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | byte |
Return
( byte )
_exec.getByte(key: string) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( byte )
_exec.getByte(key: string, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | byte |
Return
( byte )
getCalendar
_exec.getCalendar(key: string) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Calendar )
_exec.getCalendar(key: string, defaultValue: java.util.Calendar) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Calendar |
Return
( java.util.Calendar )
getDate
_exec.getDate(key: string) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Date )
_exec.getDate(key: string, defaultValue: java.util.Date) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Date |
Return
( java.util.Date )
getDouble
_exec.getDouble(index: int) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( double )
_exec.getDouble(index: int, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | double |
Return
( double )
_exec.getDouble(key: string) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( double )
_exec.getDouble(key: string, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | double |
Return
( double )
getFile
_exec.getFile(key: string) : File
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( File )
getFloat
_exec.getFloat(index: int) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( float )
_exec.getFloat(index: int, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | float |
Return
( float )
_exec.getFloat(key: string) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( float )
_exec.getFloat(key: string, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | float |
Return
( float )
getForceList
_exec.getForceList() : boolean
Return
( boolean )
getForceMap
_exec.getForceMap() : boolean
Return
( boolean )
getHTMLDecode
_exec.getHTMLDecode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
getHTMLEncode
_exec.getHTMLEncode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
getInstant
_exec.getInstant(key: string) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.Instant )
_exec.getInstant(key: string, defaultValue: java.time.Instant) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.Instant |
Return
( java.time.Instant )
getInt
_exec.getInt(index: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( int )
_exec.getInt(index: int, defaultValue: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | int |
Return
( int )
_exec.getInt(key: string) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( int )
_exec.getInt(key: string, defaultValue: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | int |
Return
( int )
getKeys
_exec.getKeys() : java.util.Set
Return
( java.util.Set )
getList
_exec.getList(index: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( java.util.List )
_exec.getList(index: int, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.getList(index: int, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object |
Return
( java.util.List )
_exec.getList(index: int, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.getList(key: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.List )
_exec.getList(key: string, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
claz | java.lang.Class |
Return
( java.util.List )
_exec.getList(key: string, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object |
Return
( java.util.List )
_exec.getList(key: string, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
getLocalDate
_exec.getLocalDate(key: string) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDate )
_exec.getLocalDate(key: string, defaultValue: java.time.LocalDate) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDate |
Return
( java.time.LocalDate )
getLocalDateTime
_exec.getLocalDateTime(key: string) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDateTime )
_exec.getLocalDateTime(key: string, defaultValue: java.time.LocalDateTime) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDateTime |
Return
( java.time.LocalDateTime )
getLocalTime
_exec.getLocalTime(key: string) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalTime )
_exec.getLocalTime(key: string, defaultValue: java.time.LocalTime) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalTime |
Return
( java.time.LocalTime )
getLong
_exec.getLong(index: int) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( long )
_exec.getLong(index: int, defaultValue: long) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | long |
Return
( long )
_exec.getLong(key: string) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( long )
_exec.getLong(key: string, defaultValue: long) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | long |
Return
( long )
getMap
_exec.getMap(index: int) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.getMap(index: int, defaultValue: java.lang.Object) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.getMap(key: string) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
_exec.getMap(key: string, defaultValue: java.lang.Object) : Config | Exec | Header | Req | Res | Values | DataSchema
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object |
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
getOrDefault
_exec.getOrDefault(arg0: java.lang.Object, arg1: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object |
Return
( java.lang.Object )
getSQLDate
_exec.getSQLDate(key: string) : java.sql.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Date )
_exec.getSQLDate(key: string, defaultValue: java.sql.Date) : java.sql.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Date |
Return
( java.sql.Date )
getSQLTime
_exec.getSQLTime(key: string) : java.sql.Time
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Time )
_exec.getSQLTime(key: string, defaultValue: java.sql.Time) : java.sql.Time
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Time |
Return
( java.sql.Time )
getSQLTimestamp
_exec.getSQLTimestamp(key: string) : java.sql.Timestamp
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.sql.Timestamp )
_exec.getSQLTimestamp(key: string, defaultValue: java.sql.Timestamp) : java.sql.Timestamp
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.sql.Timestamp |
Return
( java.sql.Timestamp )
getShort
_exec.getShort(index: int) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( short )
_exec.getShort(index: int, defaultValue: short) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | short |
Return
( short )
_exec.getShort(key: string) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( short )
_exec.getShort(key: string, defaultValue: short) : short
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | short |
Return
( short )
getSize
_exec.getSize() : int
Return
( int )
getString
_exec.getString(index: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( string )
_exec.getString(index: int, defaultValue: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | string |
Return
( string )
_exec.getString(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
_exec.getString(key: string, defaultValue: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( string )
_exec.getString(key: string, defaultValue: string, charsetName: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string | |
charsetName | string |
Return
( string )
getUID
_exec.getUID(key: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.UUID )
_exec.getUID(key: string, defaultValue: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( java.util.UUID )
_exec.getUID(key: string, defaultValue: java.util.UUID) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.UUID |
Return
( java.util.UUID )
getURLCharacterEncoding
_exec.getURLCharacterEncoding() : string
Description
Gets the character encoding to be used in formatting for URL (QueryString).
Return
( string )
Character encoding code.
getUUID
_exec.getUUID(key: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.UUID )
_exec.getUUID(key: string, defaultValue: string) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | string |
Return
( java.util.UUID )
_exec.getUUID(key: string, defaultValue: java.util.UUID) : java.util.UUID
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.UUID |
Return
( java.util.UUID )
getValues
_exec.getValues() : java.util.Collection
Description
Gets all object values stored in both dictionary and list mode.
Return
( java.util.Collection )
List of all obtained values.
_exec.getValues(index: int) : Values
Description
Gets the object associated with the index and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | The index to get the associated object. |
Return
( Values )
Object converted to Values.
_exec.getValues(index: int, defaultValue: java.lang.Object) : Values
Description
Gets the object associated with the index and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | The index to get the associated object. |
defaultValue | java.lang.Object | If it fails to get the value as an object in Values then it returns this default value instead. |
Return
( Values )
Object converted to Values.
_exec.getValues(key: string) : Values
Description
Gets the object associated with the key and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | The key to get the associated object. |
Return
( Values )
Object converted to Values.
_exec.getValues(key: string, defaultValue: java.lang.Object) : Values
Description
Gets the object associated with the key and then casts to Values (Dictionary or List).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | The key to get the associated object. |
defaultValue | java.lang.Object | If it fails to get the value as an object in Values then it returns this default value instead. |
Return
( Values )
Object converted to Values.
has
_exec.has(o: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( boolean )
_exec.has(key: string) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( boolean )
_exec.has(key: string, value: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | java.lang.Object |
Return
( boolean )
hasKey
_exec.hasKey(key: string) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( boolean )
hasValue
_exec.hasValue(value: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
value | java.lang.Object |
Return
( boolean )
indexOf
_exec.indexOf(o: java.lang.Object) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( int )
is
_exec.is(o: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( boolean )
isEmpty
_exec.isEmpty() : boolean
Return
( boolean )
isJail
_exec.isJail() : boolean
Description
Check if the restriction is active for all associated files to be loaded only from a specific directory.
Return
( boolean )
If the restriction on associated files is active.
isList
_exec.isList() : boolean
Return
( boolean )
_exec.isList(o: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( boolean )
isLockedAsReadOnly
_exec.isLockedAsReadOnly() : boolean
Description
Check if it is locked in read-only mode.
Return
( boolean )
Whether it is in read-only mode or not.
isMap
_exec.isMap() : boolean
Return
( boolean )
_exec.isMap(o: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( boolean )
isMergeable
_exec.isMergeable(object: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object |
Return
( boolean )
iterator
_exec.iterator() : java.util.Iterator
Return
( java.util.Iterator )
join
_exec.join(splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string |
Return
( string )
keySet
_exec.keySet() : java.util.Set
Return
( java.util.Set )
keys
_exec.keys() : java.util.Set
Return
( java.util.Set )
keysSorted
_exec.keysSorted() : java.util.Set
Return
( java.util.Set )
keysToString
_exec.keysToString(splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string |
Return
( string )
_exec.keysToString(map: Config | Exec | Header | Req | Res | Values | DataSchema, splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
splitter | string |
Return
( string )
lastIndexOf
_exec.lastIndexOf(o: java.lang.Object) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( int )
length
_exec.length() : int
Return
( int )
list
_exec.list() : java.util.List
Return
( java.util.List )
_exec.list(cls: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
cls | java.lang.Class |
Return
( java.util.List )
listIterator
_exec.listIterator() : java.util.ListIterator
Return
( java.util.ListIterator )
_exec.listIterator(index: int) : java.util.ListIterator
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( java.util.ListIterator )
listOfValues
_exec.listOfValues() : java.util.List
Return
( java.util.List )
loadJSON
_exec.loadJSON(in: InputStream) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream |
Return
( void )
_exec.loadJSON(in: java.io.Reader) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | java.io.Reader |
Return
( void )
loadProperties
_exec.loadProperties(in: InputStream) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | InputStream |
Return
( void )
_exec.loadProperties(in: java.io.Reader) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
in | java.io.Reader |
Return
( void )
_exec.loadProperties(properties: java.util.Properties) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
properties | java.util.Properties |
Return
( void )
loadPropertiesFromString
_exec.loadPropertiesFromString(data: string) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | string |
Return
( void )
lockAsReadOnly
_exec.lockAsReadOnly() : Values
Description
Check if it is locked in read-only mode.
Return
( Values )
Whether it is in read-only mode or not.
map
_exec.map() : Config | Exec | Header | Req | Res | Values | DataSchema
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
merge
_exec.merge(object: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object |
Return
( Values )
_exec.merge(arg0: java.lang.Object, arg1: java.lang.Object, arg2: java.util.function.BiFunction) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object | |
arg2 | java.util.function.BiFunction |
Return
( java.lang.Object )
newList
_exec.newList() : Values
Return
( Values )
newMap
_exec.newMap() : Values
Return
( Values )
of
_exec.of(array: [Ljava.lang.Object;[]) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
array | [Ljava.lang.Object;[] |
Return
( Values )
_exec.of(o: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( java.lang.Object )
_exec.of(list: java.util.List) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
list | java.util.List |
Return
( Values )
_exec.of(map: Config | Exec | Header | Req | Res | Values | DataSchema) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema |
Return
( Values )
ofList
_exec.ofList(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
ofMap
_exec.ofMap(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
onError
_exec.onError(function: java.util.function.Function) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | java.util.function.Function |
Return
( void )
push
_exec.push(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
put
_exec.put(key: java.lang.Object, value: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | java.lang.Object | |
value | java.lang.Object |
Return
( java.lang.Object )
_exec.put(key: string, value: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | java.lang.Object |
Return
( java.lang.Object )
putAll
_exec.putAll(m: Config | Exec | Header | Req | Res | Values | DataSchema) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
m | Config | Exec | Header | Req | Res | Values | DataSchema |
Return
( void )
putIfAbsent
_exec.putIfAbsent(arg0: java.lang.Object, arg1: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object |
Return
( java.lang.Object )
remove
_exec.remove(i: int) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
i | int |
Return
( java.lang.Object )
_exec.remove(o: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( java.lang.Object )
_exec.remove(arg0: java.lang.Object, arg1: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object |
Return
( boolean )
removeAll
_exec.removeAll() : void
Return
( void )
_exec.removeAll(c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Collection |
Return
( boolean )
replace
_exec.replace(arg0: java.lang.Object, arg1: java.lang.Object) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object |
Return
( java.lang.Object )
_exec.replace(arg0: java.lang.Object, arg1: java.lang.Object, arg2: java.lang.Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.lang.Object | |
arg1 | java.lang.Object | |
arg2 | java.lang.Object |
Return
( boolean )
replaceAll
_exec.replaceAll(arg0: java.util.function.BiFunction) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | java.util.function.BiFunction |
Return
( void )
_exec.replaceAll(operator: java.util.function.UnaryOperator) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
operator | java.util.function.UnaryOperator |
Return
( void )
_exec.replaceAll(function: org.graalvm.polyglot.Value) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( void )
retainAll
_exec.retainAll(c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Collection |
Return
( boolean )
safeString
_exec.safeString(object: java.lang.Object) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object |
Return
( string )
_exec.safeString(object: java.lang.Object, defaultValue: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object | |
defaultValue | string |
Return
( string )
saveJSON
_exec.saveJSON(out: OutputStream) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | OutputStream |
Return
( void )
_exec.saveJSON(out: java.io.Writer) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | java.io.Writer |
Return
( void )
saveProperties
_exec.saveProperties(out: OutputStream) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | OutputStream |
Return
( void )
_exec.saveProperties(out: java.io.Writer) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
out | java.io.Writer |
Return
( void )
search
_exec.search(content: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string |
Return
( string )
_exec.search(content: string, ignoreCase: boolean) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | |
ignoreCase | boolean |
Return
( string )
_exec.search(content: string, splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | |
splitter | string |
Return
( string )
_exec.search(content: string, splitter: string, ignoreCase: boolean) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | |
splitter | string | |
ignoreCase | boolean |
Return
( string )
_exec.search(map: Config | Exec | Header | Req | Res | Values | DataSchema, content: string, splitter: string, ignoreCase: boolean) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
content | string | |
splitter | string | |
ignoreCase | boolean |
Return
( string )
service
_exec.service(path: string) : ScriptResult
Description
Execution of scripts that are in the server/services/
folder.
How To Use
_exec.service("another-script-maybe-in-another-language");
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | string | Script path originating from 'services/' to be executed. |
Return
( ScriptResult )
_exec.service(path: string, preserveContext: boolean) : ScriptResult
Description
Execution of scripts that are in the server/services/
folder.
How To Use
_exec.service("another-script-maybe-in-another-language");
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
path | string | Script path originating from 'services/' to be executed. |
preserveContext | boolean | Whether to keep the same execution context or start a new one. |
Return
( ScriptResult )
set
_exec.set(index: int, element: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
element | java.lang.Object |
Return
( Values )
_exec.set(key: string, value: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | java.lang.Object |
Return
( Values )
setForceList
_exec.setForceList(forceList: boolean) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
forceList | boolean |
Return
( Values )
setForceMap
_exec.setForceMap(forceMap: boolean) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
forceMap | boolean |
Return
( Values )
setIfFalse
_exec.setIfFalse(key: string, value: boolean) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | boolean |
Return
( Values )
setIfGreaterThanZero
_exec.setIfGreaterThanZero(key: string, value: double) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | double |
Return
( Values )
_exec.setIfGreaterThanZero(key: string, value: float) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | float |
Return
( Values )
_exec.setIfGreaterThanZero(key: string, value: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | int |
Return
( Values )
_exec.setIfGreaterThanZero(key: string, value: long) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | long |
Return
( Values )
_exec.setIfGreaterThanZero(key: string, value: short) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | short |
Return
( Values )
setIfLowerThanZero
_exec.setIfLowerThanZero(key: string, value: double) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | double |
Return
( Values )
_exec.setIfLowerThanZero(key: string, value: float) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | float |
Return
( Values )
_exec.setIfLowerThanZero(key: string, value: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | int |
Return
( Values )
_exec.setIfLowerThanZero(key: string, value: long) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | long |
Return
( Values )
_exec.setIfLowerThanZero(key: string, value: short) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | short |
Return
( Values )
setIfNotEmpty
_exec.setIfNotEmpty(key: string, value: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | string |
Return
( Values )
setIfNotZero
_exec.setIfNotZero(key: string, value: double) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | double |
Return
( Values )
_exec.setIfNotZero(key: string, value: float) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | float |
Return
( Values )
_exec.setIfNotZero(key: string, value: int) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | int |
Return
( Values )
_exec.setIfNotZero(key: string, value: long) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | long |
Return
( Values )
_exec.setIfNotZero(key: string, value: short) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | short |
Return
( Values )
setIfTrue
_exec.setIfTrue(key: string, value: boolean) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
value | boolean |
Return
( Values )
setNull
_exec.setNull(key: string) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( Values )
setURLCharacterEncoding
_exec.setURLCharacterEncoding(characterEncoding: string) : void
Description
Defines the character encoding to be used in formatting for URL (QueryString).
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
characterEncoding | string | Character encoding code. |
Return
( void )
size
_exec.size() : int
Return
( int )
sizeOfList
_exec.sizeOfList() : int
Return
( int )
sizeOfMap
_exec.sizeOfMap() : int
Return
( int )
sleep
_exec.sleep(interval: long) : void
Description
Pauses execution, useful for causing some controlled processing delay.
How To Use
// Stop the execution for 3 seconds:
_exec.sleep(3000);
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
interval | long | Time interval in milliseconds to pause execution. |
Return
( void )
sort
_exec.sort(c: java.util.Comparator) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Comparator |
Return
( void )
_exec.sort(function: org.graalvm.polyglot.Value) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( void )
spliterator
_exec.spliterator() : java.util.Spliterator
Return
( java.util.Spliterator )
stop
_exec.stop() : void
Description
It stops the execution of the current script, useful for interrupting the execution.
How To Use
// For the execution:
_out.println('Will stop...<br>');
_exec.stop();
_out.println('Not run this line.');
Return
( void )
subList
_exec.subList(fromIndex: int, toIndex: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
fromIndex | int | |
toIndex | int |
Return
( java.util.List )
toArray
_exec.toArray() : [Ljava.lang.Object;[]
Return
( [Ljava.lang.Object;[] )
_exec.toArray(a: [Ljava.lang.Object;[]) : [Ljava.lang.Object;[]
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
a | [Ljava.lang.Object;[] |
Return
( [Ljava.lang.Object;[] )
toByteArray
_exec.toByteArray() : byte[]
Return
( byte[] )
toDoubleArray
_exec.toDoubleArray() : double[]
Return
( double[] )
toFloatArray
_exec.toFloatArray() : float[]
Return
( float[] )
toFormMap
_exec.toFormMap() : Values
Return
( Values )
_exec.toFormMap(key: string, data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
data | Values |
Return
( Values )
_exec.toFormMap(data: Values) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
data | Values |
Return
( Values )
toIntArray
_exec.toIntArray() : int[]
Return
( int[] )
toJSON
_exec.toJSON() : string
Return
( string )
_exec.toJSON(htmlEscape: boolean) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
htmlEscape | boolean |
Return
( string )
_exec.toJSON(htmlEscape: boolean, indentFactor: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
htmlEscape | boolean | |
indentFactor | int |
Return
( string )
_exec.toJSON(indentFactor: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
indentFactor | int |
Return
( string )
_exec.toJSON(values: java.util.List) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | java.util.List |
Return
( string )
_exec.toJSON(values: java.util.List, htmlEscape: boolean) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | java.util.List | |
htmlEscape | boolean |
Return
( string )
_exec.toJSON(values: java.util.List, htmlEscape: boolean, indentFactor: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | java.util.List | |
htmlEscape | boolean | |
indentFactor | int |
Return
( string )
_exec.toJSON(values: java.util.List, indentFactor: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | java.util.List | |
indentFactor | int |
Return
( string )
toJSONObject
_exec.toJSONObject(object: java.lang.Object, htmlEscape: boolean) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object | |
htmlEscape | boolean |
Return
( java.lang.Object )
toJSONString
_exec.toJSONString(object: java.lang.Object, htmlEscape: boolean, indentFactor: int) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
object | java.lang.Object | |
htmlEscape | boolean | |
indentFactor | int |
Return
( string )
toList
_exec.toList() : java.util.List
Return
( java.util.List )
_exec.toList(cls: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
cls | java.lang.Class |
Return
( java.util.List )
toLongArray
_exec.toLongArray() : long[]
Return
( long[] )
toMap
_exec.toMap() : Config | Exec | Header | Req | Res | Values | DataSchema
Return
( Config | Exec | Header | Req | Res | Values | DataSchema )
toProperties
_exec.toProperties() : string
Return
( string )
toShortArray
_exec.toShortArray() : short[]
Return
( short[] )
toStringArray
_exec.toStringArray() : [Ljava.lang.String;[]
Return
( [Ljava.lang.String;[] )
unset
_exec.unset(key: string) : java.lang.Object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.lang.Object )
unsetAll
_exec.unsetAll() : void
Return
( void )
values
_exec.values() : java.util.Collection
Description
Gets all object values stored in both dictionary and list mode.
Return
( java.util.Collection )
List of all obtained values.
valuesToString
_exec.valuesToString(splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string |
Return
( string )
_exec.valuesToString(splitter: string, excludes: [Ljava.lang.String;[]) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string | |
excludes | [Ljava.lang.String;[] |
Return
( string )
_exec.valuesToString(splitter: string, excludes: [Ljava.lang.String;[], config: Values) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string | |
excludes | [Ljava.lang.String;[] | |
config | Values |
Return
( string )
_exec.valuesToString(splitter: string, config: Values) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
splitter | string | |
config | Values |
Return
( string )
_exec.valuesToString(map: Config | Exec | Header | Req | Res | Values | DataSchema, splitter: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
splitter | string |
Return
( string )
_exec.valuesToString(map: Config | Exec | Header | Req | Res | Values | DataSchema, splitter: string, excludes: [Ljava.lang.String;[]) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
splitter | string | |
excludes | [Ljava.lang.String;[] |
Return
( string )
_exec.valuesToString(map: Config | Exec | Header | Req | Res | Values | DataSchema, splitter: string, excludes: [Ljava.lang.String;[], config: Values) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
splitter | string | |
excludes | [Ljava.lang.String;[] | |
config | Values |
Return
( string )
_exec.valuesToString(map: Config | Exec | Header | Req | Res | Values | DataSchema, splitter: string, config: Values) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
map | Config | Exec | Header | Req | Res | Values | DataSchema | |
splitter | string | |
config | Values |
Return
( string )