Enum ClientApproval.Status

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.util.StatusValue, Serializable, Comparable<ClientApproval.Status>
    Enclosing class:
    ClientApproval

    public static enum ClientApproval.Status
    extends Enum<ClientApproval.Status>
    implements edu.uiuc.ncsa.security.core.util.StatusValue
    This status enum has values that the elements assume. This is to control their actual internal values so that for instance, if the name changes, the associated value remains constant (which allows for much easier backwards compatibility in the future.)
    • Method Detail

      • values

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

        public static ClientApproval.Status valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getStatus

        public String getStatus()
        Specified by:
        getStatus in interface edu.uiuc.ncsa.security.core.util.StatusValue