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>public class RhinoShellExec extends JavaExec
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description |
|---|---|
RhinoShellExec() |
| Modifier and Type | Method | Description |
|---|---|---|
JavaExecSpec |
args(Iterable<?> args) |
Adds args for the main class to be executed.
|
JavaExec |
args(Object... args) |
Adds args for the main class to be executed.
|
void |
exec() |
|
List<String> |
getArgs() |
Returns the arguments passed to the main class to be executed.
|
List<String> |
getRhinoOptions() |
|
File |
getScript() |
|
List<String> |
getScriptArgs() |
|
void |
rhinoOptions(Object... rhinoOptions) |
|
void |
scriptArgs(Object... scriptArgs) |
|
JavaExec |
setArgs(Iterable<?> applicationArgs) |
Sets the args for the main class to be executed.
|
void |
setRhinoOptions(Object... rhinoOptions) |
|
void |
setScript(Object script) |
|
void |
setScriptArgs(Object... scriptArgs) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, 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, toStringconventionMapping, conventionMapping, getConventionMappingbootstrapClasspath, 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, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, systemProperties, systemProperty, workingDirpublic void setRhinoOptions(Object... rhinoOptions)
public void rhinoOptions(Object... rhinoOptions)
public void setScriptArgs(Object... scriptArgs)
public void scriptArgs(Object... scriptArgs)
@InputFile @Optional public File getScript()
public void setScript(Object script)
public List<String> getArgs()
JavaExecgetArgs in interface JavaExecSpecgetArgs in class JavaExecpublic JavaExec setArgs(Iterable<?> applicationArgs)
JavaExecsetArgs in interface JavaExecSpecsetArgs in class JavaExecapplicationArgs - Args for the main class.public JavaExec args(Object... args)
JavaExecargs in interface JavaExecSpecargs in class JavaExecargs - Args for the main class.public JavaExecSpec args(Iterable<?> args)
JavaExecargs in interface JavaExecSpecargs in class JavaExecargs - Args for the main class.