-
public final class CallFunctionOnRequestRequest object containing input parameters for the RuntimeDomain.callFunctionOn command.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringfunctionDeclarationprivate final StringobjectIdprivate final List<CallArgument>argumentsprivate final Booleansilentprivate final BooleanreturnByValueprivate final BooleangeneratePreviewprivate final BooleanuserGestureprivate final BooleanawaitPromiseprivate final IntegerexecutionContextIdprivate final StringobjectGroup
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final List<CallArgument>component3()final Booleancomponent4()final Booleancomponent5()final Booleancomponent6()final Booleancomponent7()final Booleancomponent8()final Integercomponent9()final Stringcomponent10()final CallFunctionOnRequestcopy(String functionDeclaration, String objectId, List<CallArgument> arguments, Boolean silent, Boolean returnByValue, Boolean generatePreview, Boolean userGesture, Boolean awaitPromise, Integer executionContextId, String objectGroup)final StringgetFunctionDeclaration()Declaration of the function to call. final StringgetObjectId()Identifier of the object to call function on. final List<CallArgument>getArguments()Call arguments. final BooleangetSilent()In silent mode exceptions thrown during evaluation are not reported and do not pause execution. final BooleangetReturnByValue()Whether the result is expected to be a JSON object which should be sent by value. final BooleangetGeneratePreview()Whether preview should be generated for the result. final BooleangetUserGesture()Whether execution should be treated as initiated by user in the UI. final BooleangetAwaitPromise()Whether execution should awaitfor resulting value and return once awaited promise is resolved.final IntegergetExecutionContextId()Specifies execution context which global object will be used to call function on. final StringgetObjectGroup()Symbolic group name that can be used to release multiple objects. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final List<CallArgument> component3()
-
component4
final Boolean component4()
-
component5
final Boolean component5()
-
component6
final Boolean component6()
-
component7
final Boolean component7()
-
component8
final Boolean component8()
-
component9
final Integer component9()
-
component10
final String component10()
-
copy
final CallFunctionOnRequest copy(String functionDeclaration, String objectId, List<CallArgument> arguments, Boolean silent, Boolean returnByValue, Boolean generatePreview, Boolean userGesture, Boolean awaitPromise, Integer executionContextId, String objectGroup)
-
getFunctionDeclaration
final String getFunctionDeclaration()
Declaration of the function to call.
-
getObjectId
final String getObjectId()
Identifier of the object to call function on. Either objectId or executionContextId should be specified.
-
getArguments
final List<CallArgument> getArguments()
Call arguments. All call arguments must belong to the same JavaScript world as the target object.
-
getSilent
final Boolean getSilent()
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides
setPauseOnExceptionstate.
-
getReturnByValue
final Boolean getReturnByValue()
Whether the result is expected to be a JSON object which should be sent by value.
-
getGeneratePreview
final Boolean getGeneratePreview()
Whether preview should be generated for the result.
-
getUserGesture
final Boolean getUserGesture()
Whether execution should be treated as initiated by user in the UI.
-
getAwaitPromise
final Boolean getAwaitPromise()
Whether execution should
awaitfor resulting value and return once awaited promise is resolved.
-
getExecutionContextId
final Integer getExecutionContextId()
Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
-
getObjectGroup
final String getObjectGroup()
Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
-
-
-
-