public class MotuWorkspace extends Object
| Constructor and Description |
|---|
MotuWorkspace(String executionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
ensureStructureExists() |
void |
exec(String command,
File subpath,
String logfilename)
Executes the given 'command' in the given 'dir' as current directory.
|
void |
exec(String command,
String subpath,
String logfilename) |
File |
getInputLocation() |
File |
getOutputLocation() |
File |
getRoot() |
void |
setExecutionsRoot(String executionsRoot) |
void |
setInputLocation(String inputLocation) |
void |
setOutputLocation(String outputLocation) |
public MotuWorkspace(String executionId)
public void setExecutionsRoot(String executionsRoot)
public File getRoot()
public File getInputLocation()
public File getOutputLocation()
public void destroy()
throws IOException
IOExceptionpublic void ensureStructureExists()
public void setOutputLocation(String outputLocation)
public void setInputLocation(String inputLocation)
public void exec(String command, File subpath, String logfilename)
command - the command to executesubpath - the subdirectory where to execute the commandlogfilename - the file where stdout and stderr are redirectedCopyright © 2017. All Rights Reserved.