Class ToolExecutorResult
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.ToolExecutorResult
The class define a result on execution tool.
- Since:
- 2.0
- Author:
- Sandrine Perrin
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutorResult(List<String> commandLineTool, int exitValue) Public constructor, command line can not be null or emptyToolExecutorResult(List<String> commandLineTool, Throwable e) Public constructor, command line can not be null or empty -
Method Summary
Modifier and TypeMethodDescriptionGets the command line as a list of string arguments.Gets the command line as a String.Gets the exception.intGets the exit value.booleanTest if an exception has been thrown.toString()
-
Constructor Details
-
ToolExecutorResult
Public constructor, command line can not be null or empty- Parameters:
commandLineTool- the command line toolexitValue- exit code
-
ToolExecutorResult
Public constructor, command line can not be null or empty- Parameters:
commandLineTool- the command line toole- exception
-
-
Method Details
-
getException
Gets the exception.- Returns:
- the exception
-
isException
public boolean isException()Test if an exception has been thrown.- Returns:
- false, if successful
-
getExitValue
public int getExitValue()Gets the exit value.- Returns:
- the exit value
-
getCommandLine
Gets the command line as a list of string arguments.- Returns:
- the command line as a list of string arguments
-
getCommandLineAsString
Gets the command line as a String.- Returns:
- the command line as a String
-
toString
-