Enum Outcome

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Outcome>

    public enum Outcome
    extends java.lang.Enum<Outcome>
    • Enum Constant Detail

      • Error

        public static final Outcome Error
      • Failed

        public static final Outcome Failed
      • Aborted

        public static final Outcome Aborted
      • Blocked

        public static final Outcome Blocked
      • Timeout

        public static final Outcome Timeout
      • Warning

        public static final Outcome Warning
      • Inconclusive

        public static final Outcome Inconclusive
      • NotExecuted

        public static final Outcome NotExecuted
      • NotApplicable

        public static final Outcome NotApplicable
      • NotImpacted

        public static final Outcome NotImpacted
      • Passed

        public static final Outcome Passed
      • Paused

        public static final Outcome Paused
      • InProgress

        public static final Outcome InProgress
      • Unspecified

        public static final Outcome Unspecified
      • None

        public static final Outcome None
    • Method Detail

      • values

        public static Outcome[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Outcome c : Outcome.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Outcome valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toState

        public State toState()
      • fromReportNodeStatus

        public static Outcome fromReportNodeStatus​(step.core.artefacts.reports.ReportNodeStatus status)
      • aggregate

        public static Outcome aggregate​(java.util.Set<Outcome> outcomes)