public class ScriptFile extends Object
 A script file represents a set of commands (which are just
 Strings) to be run through a command shell.
 
| Constructor and Description | 
|---|
| ScriptFile() | 
| ScriptFile(String shell) | 
| ScriptFile(String shell,
          List cmds) | 
| Modifier and Type | Method and Description | 
|---|---|
| List | getCommands() | 
| String | getCommandShell() | 
| void | setCommands(List commands) | 
| void | setCommandShell(String commandShell) | 
| String | toString() | 
| void | writeScriptFile(String filePath) | 
public ScriptFile()
public ScriptFile(String shell)
public List getCommands()
public void setCommands(List commands)
commands - The commands to set.public String getCommandShell()
public void setCommandShell(String commandShell)
commandShell - The commandShell to set.public void writeScriptFile(String filePath) throws WorkflowException
WorkflowExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.