Enum PackageOutcome

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

    @StableMinor(version="16.0",
                 sinceVersion="7.1")
    public enum PackageOutcome
    extends java.lang.Enum<PackageOutcome>
    Defines enumeration values for package outcome.
    Since:
    7.1.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FAILURE
      Indicates the package has one or more steps with failure.
      SUCCESS
      Indicates the package is being deployed.
      WARNING
      Indicates the package has one or more steps ignored.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PackageOutcome valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PackageOutcome[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SUCCESS

        public static final PackageOutcome SUCCESS
        Indicates the package is being deployed.
        Since:
        7.1.0
      • FAILURE

        public static final PackageOutcome FAILURE
        Indicates the package has one or more steps with failure.
        Since:
        7.1.0
      • WARNING

        public static final PackageOutcome WARNING
        Indicates the package has one or more steps ignored.
        Since:
        7.1.0
    • Method Detail

      • values

        public static PackageOutcome[] 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 (PackageOutcome c : PackageOutcome.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PackageOutcome 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