-
public final class RunScriptRequestRequest object containing input parameters for the RuntimeDomain.runScript command.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringscriptIdprivate final IntegerexecutionContextIdprivate final StringobjectGroupprivate final Booleansilentprivate final BooleanincludeCommandLineAPIprivate final BooleanreturnByValueprivate final BooleangeneratePreviewprivate final BooleanawaitPromise
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Integercomponent2()final Stringcomponent3()final Booleancomponent4()final Booleancomponent5()final Booleancomponent6()final Booleancomponent7()final Booleancomponent8()final RunScriptRequestcopy(String scriptId, Integer executionContextId, String objectGroup, Boolean silent, Boolean includeCommandLineAPI, Boolean returnByValue, Boolean generatePreview, Boolean awaitPromise)final StringgetScriptId()Id of the script to run. final IntegergetExecutionContextId()Specifies in which execution context to perform script run. final StringgetObjectGroup()Symbolic group name that can be used to release multiple objects. final BooleangetSilent()In silent mode exceptions thrown during evaluation are not reported and do not pause execution. final BooleangetIncludeCommandLineAPI()Determines whether Command Line API should be available during the evaluation. 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 BooleangetAwaitPromise()Whether execution should awaitfor resulting value and return once awaited promise is resolved.-
-
Method Detail
-
component1
final String component1()
-
component2
final Integer component2()
-
component3
final String component3()
-
component4
final Boolean component4()
-
component5
final Boolean component5()
-
component6
final Boolean component6()
-
component7
final Boolean component7()
-
component8
final Boolean component8()
-
copy
final RunScriptRequest copy(String scriptId, Integer executionContextId, String objectGroup, Boolean silent, Boolean includeCommandLineAPI, Boolean returnByValue, Boolean generatePreview, Boolean awaitPromise)
-
getScriptId
final String getScriptId()
Id of the script to run.
-
getExecutionContextId
final Integer getExecutionContextId()
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
-
getObjectGroup
final String getObjectGroup()
Symbolic group name that can be used to release multiple objects.
-
getSilent
final Boolean getSilent()
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides
setPauseOnExceptionstate.
-
getIncludeCommandLineAPI
final Boolean getIncludeCommandLineAPI()
Determines whether Command Line API should be available during the evaluation.
-
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.
-
getAwaitPromise
final Boolean getAwaitPromise()
Whether execution should
awaitfor resulting value and return once awaited promise is resolved.
-
-
-
-