Enum Class UserAccountStatus

java.lang.Object
java.lang.Enum<UserAccountStatus>
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccountStatus
All Implemented Interfaces:
Serializable, Comparable<UserAccountStatus>, Constable

public enum UserAccountStatus extends Enum<UserAccountStatus>
The UserAccountStatus enum defines the status of a user account
  • Disabled: The user account is not in use.
  • Locked: The user account is in use but is temporarily locked.
  • CredentialsExpired: The user account is in use and unlocked, but the credentials have expired.
  • Available: The user account is enabled and unlocked, with active credentials.
  • Enum Constant Details

    • DISABLED

      public static final UserAccountStatus DISABLED
      The user account is not in use.
    • LOCKED

      public static final UserAccountStatus LOCKED
      The user account is in use but is temporarily locked.
    • CREDENTIALS_EXPIRED

      public static final UserAccountStatus CREDENTIALS_EXPIRED
      The user account is in use and unlocked, but the credentials have expired.
    • AVAILABLE

      public static final UserAccountStatus AVAILABLE
      The user account is enabled and unlocked, with active credentials.
  • Method Details

    • values

      public static UserAccountStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserAccountStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOrdinal

      public int getOrdinal()
      Return the numerical value for the enum.
      Returns:
      int enum value ordinal
    • getName

      public String getName()
      Return the descriptive name for the enum.
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the description for the enum.
      Returns:
      String description
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Enum<UserAccountStatus>
      Returns:
      string description