public interface SimpleCommand extends Command
ComputationManager
.
A timeout for the execution of this command may be specified.
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getArgs(int executionNumber)
The list of arguments to be passed to the program, for the specified execution number.
|
java.lang.String |
getProgram()
Define the name of the program to be executed.
|
int |
getTimeout()
Deprecated.
ComputationParameters.getTimeout(java.lang.String) should be used instead.
A timeout in milliseconds for this command execution.
If less than zero, the execution time should be considered as unlimited. |
getId, getInputFiles, getOutputFiles, getType, toString
java.lang.String getProgram()
java.util.List<java.lang.String> getArgs(int executionNumber)
executionNumber
- execution number for which arguments are requested.@Deprecated int getTimeout()
ComputationParameters.getTimeout(java.lang.String)
should be used instead.
A timeout in milliseconds for this command execution.
If less than zero, the execution time should be considered as unlimited.