ScriptResult
Script execution results if an error occurred or was successful.
isError
isError() : boolean
Return
( boolean )
isSuccess
isSuccess() : boolean
Return
( boolean )
whenError
whenError(func: java.util.function.Consumer) : ScriptResult
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
func | java.util.function.Consumer |
Return
( ScriptResult )
whenError(function: org.graalvm.polyglot.Value) : ScriptResult
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( ScriptResult )
whenSucceed
whenSucceed(func: java.lang.Runnable) : ScriptResult
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
func | java.lang.Runnable |
Return
( ScriptResult )
whenSucceed(function: org.graalvm.polyglot.Value) : ScriptResult
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
function | org.graalvm.polyglot.Value |
Return
( ScriptResult )