public enum AdminMessageType extends Enum<AdminMessageType> implements EnumType
| Enum Constant and Description |
|---|
ADD_PRINCIPAL_REP |
ADD_PRINCIPAL_REQ |
DELETE_PRINCIPAL_REP |
DELETE_PRINCIPAL_REQ |
GET_PRINCS_REP |
GET_PRINCS_REQ |
NONE |
RENAME_PRINCIPAL_REP |
RENAME_PRINCIPAL_REQ |
| Modifier and Type | Method and Description |
|---|---|
static AdminMessageType |
findType(int value) |
String |
getName() |
int |
getValue() |
static AdminMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminMessageType NONE
public static final AdminMessageType ADD_PRINCIPAL_REQ
public static final AdminMessageType ADD_PRINCIPAL_REP
public static final AdminMessageType DELETE_PRINCIPAL_REQ
public static final AdminMessageType DELETE_PRINCIPAL_REP
public static final AdminMessageType RENAME_PRINCIPAL_REQ
public static final AdminMessageType RENAME_PRINCIPAL_REP
public static final AdminMessageType GET_PRINCS_REQ
public static final AdminMessageType GET_PRINCS_REP
public static AdminMessageType[] values()
for (AdminMessageType c : AdminMessageType.values()) System.out.println(c);
public static AdminMessageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AdminMessageType findType(int value)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.