com.dtolabs.rundeck.core.execution.script
Class ExecTaskParameterGeneratorImpl

java.lang.Object
  extended by 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
ExecTaskParameterGeneratorImpl()
          Create the generator
 
Method Summary
 ExecTaskParameters generate(INodeEntry nodeentry, boolean command, java.io.File scriptfile, java.lang.String[] args)
          Generate the #commandexecutable and #commandargline values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecTaskParameterGeneratorImpl

public ExecTaskParameterGeneratorImpl()
Create the generator

Method Detail

generate

public ExecTaskParameters generate(INodeEntry nodeentry,
                                   boolean command,
                                   java.io.File scriptfile,
                                   java.lang.String[] args)
                            throws ExecutionException
Description copied from interface: ExecTaskParameterGenerator
Generate the #commandexecutable and #commandargline values.

Specified by:
generate in interface ExecTaskParameterGenerator
Parameters:
nodeentry -
command -
scriptfile -
args -
Throws:
ExecutionException - if an error occurs