Class ToolExecutorResult
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.ToolExecutorResult
-
public class ToolExecutorResult extends Object
The class define a result on execution tool.- Since:
- 2.0
- Author:
- Sandrine Perrin
-
-
Constructor Summary
Constructors Constructor Description ToolExecutorResult(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getCommandLine()
Gets the command line as a list of string arguments.String
getCommandLineAsString()
Gets the command line as a String.Throwable
getException()
Gets the exception.int
getExitValue()
Gets the exit value.boolean
isException()
Test if an exception has been thrown.String
toString()
-
-
-
Method Detail
-
getException
public Throwable 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
public List<String> getCommandLine()
Gets the command line as a list of string arguments.- Returns:
- the command line as a list of string arguments
-
getCommandLineAsString
public String getCommandLineAsString()
Gets the command line as a String.- Returns:
- the command line as a String
-
-