Class Outcome.Builder

  • Enclosing class:
    Outcome

    public static class Outcome.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • output

        public Outcome.Builder output​(String output)
        A shortened version of Execution output.
        Parameters:
        output - the value to set
        Returns:
        this builder
      • error

        public Outcome.Builder error​(String error)
        Errors if any, associated with the execution.
        Parameters:
        error - the value to set
        Returns:
        this builder
      • exitCode

        public Outcome.Builder exitCode​(String exitCode)
        Exit Code.
        Parameters:
        exitCode - the value to set
        Returns:
        this builder