public class RhinoShellExec extends JavaExec
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
RhinoShellExec() |
| Modifier and Type | Method and 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) |
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, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, systemProperties, systemProperty, workingDirconventionMapping, conventionMapping, getConventionMappingaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, 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, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic 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)
@Input 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.