-
public final class CompileScriptRequestRequest object containing input parameters for the RuntimeDomain.compileScript command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringexpressionprivate final StringsourceURLprivate final BooleanpersistScriptprivate final IntegerexecutionContextId
-
Constructor Summary
Constructors Constructor Description CompileScriptRequest(String expression, String sourceURL, Boolean persistScript, Integer executionContextId)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Booleancomponent3()final Integercomponent4()final CompileScriptRequestcopy(String expression, String sourceURL, Boolean persistScript, Integer executionContextId)final StringgetExpression()Expression to compile. final StringgetSourceURL()Source url to be set for the script. final BooleangetPersistScript()Specifies whether the compiled script should be persisted. final IntegergetExecutionContextId()Specifies in which execution context to perform script run. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final Boolean component3()
-
component4
final Integer component4()
-
copy
final CompileScriptRequest copy(String expression, String sourceURL, Boolean persistScript, Integer executionContextId)
-
getExpression
final String getExpression()
Expression to compile.
-
getSourceURL
final String getSourceURL()
Source url to be set for the script.
-
getPersistScript
final Boolean getPersistScript()
Specifies whether the compiled script should be persisted.
-
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.
-
-
-
-