Enum AdminMessageType

java.lang.Object
java.lang.Enum<AdminMessageType>
org.apache.kerby.kerberos.kerb.admin.message.AdminMessageType
All Implemented Interfaces:
Serializable, Comparable<AdminMessageType>, org.apache.kerby.xdr.EnumType

public enum AdminMessageType extends Enum<AdminMessageType> implements org.apache.kerby.xdr.EnumType
Type of Admin Message: NONE(-1) ADD_PRINCIPAL_REQ(0) add principal request ADD_PRINCIPAL_REP(1) add principal reply DELETE_PRINCIPAL_REQ(2), DELETE_PRINCIPAL_REP(3); RENAME_PRINCIPAL_REQ(4), RENAME_PRINCIPAL_REP(5);
  • Enum Constant Details

  • Method Details

    • values

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

      public static AdminMessageType 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
    • getValue

      public int getValue()
      Specified by:
      getValue in interface org.apache.kerby.xdr.EnumType
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.kerby.xdr.EnumType
    • findType

      public static AdminMessageType findType(int value)