Enum Outcome

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

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

      • Unspecified

        public static final Outcome Unspecified
      • None

        public static final Outcome None
      • Passed

        public static final Outcome Passed
      • Failed

        public static final Outcome Failed
      • Inconclusive

        public static final Outcome Inconclusive
      • Timeout

        public static final Outcome Timeout
      • Aborted

        public static final Outcome Aborted
      • Blocked

        public static final Outcome Blocked
      • NotExecuted

        public static final Outcome NotExecuted
      • Warning

        public static final Outcome Warning
      • Error

        public static final Outcome Error
      • NotApplicable

        public static final Outcome NotApplicable
      • Paused

        public static final Outcome Paused
      • InProgress

        public static final Outcome InProgress
      • NotImpacted

        public static final Outcome NotImpacted
    • 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)