public class ScriptFile extends Object
A script file represents a set of commands (which are just
String
s) 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
WorkflowException
Copyright © 1999–2017 Apache OODT. All rights reserved.