Class ScriptExecImpl
java.lang.Object
com.anrisoftware.globalpom.exec.internal.scriptprocess.AbstractProcessExec
com.anrisoftware.globalpom.exec.internal.scriptprocess.ScriptExecImpl
- All Implemented Interfaces:
ScriptExec,Callable<ProcessTask>
Executes the script from a template.
- Since:
- 2.3
- Author:
- Erwin Mueller, erwin.mueller@deventm.org
-
Field Summary
Fields inherited from class com.anrisoftware.globalpom.exec.internal.scriptprocess.AbstractProcessExec
DESTROY_ON_TIMEOUT_ARG, DESTROY_ON_TIMEOUT_DEFAULT, ERR_STRING_DEFAULT, EXIT_CODE_ARG, EXIT_CODE_DEFAULT, EXIT_CODES_ARG, OUT_STRING_DEFAULT, TIMEOUT_ARG_ARG, TIMEOUT_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptioncall()Executes the script.protected CommandLinecreateCommandLine(ScriptCommandLineFactory commandLineFactory) Creates the command line for the process.toString()Methods inherited from class com.anrisoftware.globalpom.exec.internal.scriptprocess.AbstractProcessExec
getScriptString, setupCommandError, setupCommandOutput
-
Method Details
-
call
Description copied from interface:ScriptExecExecutes the script.- Specified by:
callin interfaceCallable<ProcessTask>- Specified by:
callin interfaceScriptExec- Overrides:
callin classAbstractProcessExec- Throws:
CommandExecException
-
createCommandLine
Description copied from class:AbstractProcessExecCreates the command line for the process.- Specified by:
createCommandLinein classAbstractProcessExec- Parameters:
commandLineFactory- theScriptCommandLineFactory.- Returns:
- the
CommandLine.
-
toString
-