org.apache.oodt.cas.workflow.util
Class ScriptFile
java.lang.Object
org.apache.oodt.cas.workflow.util.ScriptFile
public class ScriptFile
- extends Object
- Version:
- $Revision$
A script file represents a set of commands (which are just
String
s) to be run through a command shell.
- Author:
- mattmann
ScriptFile
public ScriptFile()
ScriptFile
public ScriptFile(String shell)
ScriptFile
public ScriptFile(String shell,
List cmds)
getCommands
public List getCommands()
- Returns:
- Returns the commands.
setCommands
public void setCommands(List commands)
- Parameters:
commands
- The commands to set.
getCommandShell
public String getCommandShell()
- Returns:
- Returns the commandShell.
setCommandShell
public void setCommandShell(String commandShell)
- Parameters:
commandShell
- The commandShell to set.
toString
public String toString()
- Overrides:
toString
in class Object
writeScriptFile
public void writeScriptFile(String filePath)
throws Exception
- Throws:
Exception
Copyright © 1999-2011 Apache OODT. All Rights Reserved.