public abstract class ProcessCommandItem extends Object
Modifier and Type | Field and Description |
---|---|
protected ProcessCommand |
processCommand |
Modifier | Constructor and Description |
---|---|
protected |
ProcessCommandItem() |
Modifier and Type | Method and Description |
---|---|
abstract ProcessCommandItem |
copy()
Makes a deep copy of this item.
|
protected static void |
copyFile(URL srcURL,
File dstFile,
Console console) |
abstract String |
execute(Document document,
File workingDir,
String[] args,
String allArgs,
String[] vars,
Console console) |
URL |
getConfigurationURL() |
protected boolean |
getDebug() |
ProcessCommand |
getProcessCommand() |
protected static File[] |
glob(File patternsFile) |
protected static File |
resolve(String path,
File workingDir) |
protected static String[] |
substitute(String[] list,
String[] args,
String allArgs,
String[] vars) |
protected static String |
substitute(String s,
String[] args,
String allArgs,
String[] vars) |
protected static String[] |
substituteParameters(String[] parameters,
String[] args,
String allArgs,
String[] vars,
Document doc) |
protected ProcessCommand processCommand
public abstract ProcessCommandItem copy()
null
if, for any reason,
copying this item failspublic ProcessCommand getProcessCommand()
public URL getConfigurationURL()
public abstract String execute(Document document, File workingDir, String[] args, String allArgs, String[] vars, Console console) throws Exception
Exception
protected boolean getDebug()
protected static final String[] substituteParameters(String[] parameters, String[] args, String allArgs, String[] vars, Document doc)
protected static final String[] substitute(String[] list, String[] args, String allArgs, String[] vars)
protected static final String substitute(String s, String[] args, String allArgs, String[] vars)
protected static final void copyFile(URL srcURL, File dstFile, Console console) throws IOException
IOException