Class RhinoShellExec
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.JavaExec
org.gradle.plugins.javascript.rhino.RhinoShellExec
- All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, BaseExecSpec, JavaExecSpec, JavaForkOptions, ProcessForkOptions, org.gradle.util.Configurable<Task>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Task
Task.Namer -
Field Summary
Fields inherited from interface Task
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.voidexec()getArgs()Returns the arguments passed to the main class to be executed.Rhino options.Script file.Script arguments.voidrhinoOptions(Object... rhinoOptions) Sets Rhino options.voidscriptArgs(Object... scriptArgs) Sets script arguments.Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.voidsetRhinoOptions(Object... rhinoOptions) Sets Rhino options.voidsetRhinoOptions(List<String> rhinoOptions) Sets Rhino options.voidSets script file.voidSets script file.voidsetScriptArgs(Object... scriptArgs) Sets script arguments.voidsetScriptArgs(List<String> scriptArgs) Sets script arguments.Methods inherited from class JavaExec
bootstrapClasspath, classpath, copyTo, copyTo, environment, environment, executable, getAllJvmArgs, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getJvmArgs, getMain, getMaxHeapSize, getMinHeapSize, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setAllJvmArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setExecutable, setIgnoreExitValue, setJvmArgs, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, setWorkingDir, systemProperties, systemProperty, workingDirMethods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingMethods inherited from class DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileMethods inherited from class org.gradle.api.internal.AbstractTask
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
Constructor Details
-
RhinoShellExec
public RhinoShellExec()
-
-
Method Details
-
getRhinoOptions
-
setRhinoOptions
-
setRhinoOptions
Sets Rhino options. -
rhinoOptions
Sets Rhino options. -
getScriptArgs
-
setScriptArgs
-
setScriptArgs
Sets script arguments. -
scriptArgs
Sets script arguments. -
getScript
Script file. -
setScript
-
setScript
Sets script file. -
getArgs
-
setArgs
Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.- Specified by:
setArgsin interfaceJavaExecSpec- Overrides:
setArgsin classJavaExec- Parameters:
applicationArgs- Args for the main class.- Returns:
- this
- Throws:
UnsupportedOperationException- always- Since:
- 4.0
-
setArgs
Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.- Specified by:
setArgsin interfaceJavaExecSpec- Overrides:
setArgsin classJavaExec- Parameters:
applicationArgs- Args for the main class.- Returns:
- this
- Throws:
UnsupportedOperationException- always
-
args
Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.- Specified by:
argsin interfaceJavaExecSpec- Overrides:
argsin classJavaExec- Parameters:
args- Args for the main class.- Returns:
- this
- Throws:
UnsupportedOperationException- always
-
args
Cannot set args directly on RhinoShellExec, usesetRhinoOptions(List),setScriptArgs(List)and/orsetScript(File)instead.- Specified by:
argsin interfaceJavaExecSpec- Overrides:
argsin classJavaExec- Parameters:
args- Args for the main class.- Returns:
- this
- Throws:
UnsupportedOperationException- always
-
exec
-