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 Details

    • ToolExecutorResult

      public ToolExecutorResult(List<String> commandLineTool, int exitValue)
      Public constructor, command line can not be null or empty
      Parameters:
      commandLineTool - the command line tool
      exitValue - exit code
    • ToolExecutorResult

      public ToolExecutorResult(List<String> commandLineTool, Throwable e)
      Public constructor, command line can not be null or empty
      Parameters:
      commandLineTool - the command line tool
      e - exception
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object