Class ExecTaskParameterGeneratorImpl
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.script.ExecTaskParameterGeneratorImpl
-
- All Implemented Interfaces:
ExecTaskParameterGenerator
public class ExecTaskParameterGeneratorImpl extends java.lang.Object implements ExecTaskParameterGenerator
This class takes the input objects, and synthesizes the executable string and arguments string for the Ant Exec task
-
-
Constructor Summary
Constructors Constructor Description ExecTaskParameterGeneratorImpl()
Create the generator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecTaskParameters
generate(INodeEntry nodeentry, boolean command, java.io.File scriptfile, java.lang.String[] args)
-
-
-
Method Detail
-
generate
public ExecTaskParameters generate(INodeEntry nodeentry, boolean command, java.io.File scriptfile, java.lang.String[] args) throws ExecutionException
- Specified by:
generate
in interfaceExecTaskParameterGenerator
- Parameters:
nodeentry
- nodecommand
- true if the args are a commandscriptfile
- file to executeargs
- command or scriptfile args- Returns:
- parameters
- Throws:
ExecutionException
- if an error occurs
-
-