Class CommandInfo.Output

  • Enclosing class:
    CommandInfo

    public static class CommandInfo.Output
    extends java.lang.Object
    Output object that is returned after the command has completed.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int ExitCode
      Returns the exit code, returns 0 if no error occurred.
      java.util.ArrayList<java.lang.String> Result
      Returns the text result of the command.
    • Constructor Summary

      Constructors 
      Constructor Description
      Output()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      void print()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • Result

        public final java.util.ArrayList<java.lang.String> Result
        Returns the text result of the command.
      • ExitCode

        public int ExitCode
        Returns the exit code, returns 0 if no error occurred.
    • Constructor Detail

      • Output

        public Output()
    • Method Detail

      • print

        public void print()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object