public abstract class AbstractJvmScriptExecSpec extends AbstractJvmExecSpec
Defines the basics for executing a script from a JVM-based scripting language.
| Constructor and description |
|---|
protected AbstractJvmScriptExecSpec
(org.ysb33r.grolifant.api.core.ProjectOperations po) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
copyScriptDetailsToExecSpec(JavaExecSpec execSpec)Copies the script arguments to the execution specification The default behaviour is to copy the script name and then the script arguments. |
|
void |
copyTo(JavaExecSpec execSpec)Copies this specification to a standard JavaExecSpec. |
|
protected ScriptSpec |
getScriptDefinition()Returns the instance of the script definition. |
|
T |
script(Action<ScriptSpec> configurator)Configures the script specification. |
| Methods inherited from class | Name |
|---|---|
class AbstractJvmExecSpec |
entrypoint, jvm, process, runnerSpec |
Copies the script arguments to the execution specification The default behaviour is to copy the script name and then the script arguments.
Copies this specification to a standard JavaExecSpec. Adds in the script and all of the script arguments.
execSpec - Target execution specification.Returns the instance of the script definition.
null.Configures the script specification.
configurator - Action to configure the script.