Class FileScriptCommand
- java.lang.Object
-
- org.codehaus.cargo.container.configuration.script.AbstractScriptCommand
-
- org.codehaus.cargo.container.configuration.script.FileScriptCommand
-
- All Implemented Interfaces:
ScriptCommand
public class FileScriptCommand extends AbstractScriptCommand
Implementation of general functionality for existing script files.
-
-
Constructor Summary
Constructors Constructor Description FileScriptCommand(Configuration configuration, String filePath)
Sets configuration containing all needed information for building configuration scripts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
readScript()
-
Methods inherited from class org.codehaus.cargo.container.configuration.script.AbstractScriptCommand
getConfiguration, isApplicable
-
-
-
-
Constructor Detail
-
FileScriptCommand
public FileScriptCommand(Configuration configuration, String filePath)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.filePath
- Path to configuration script file.
-
-
Method Detail
-
readScript
public String readScript()
- Returns:
- Filtered script.
-
-