Package io.github.vyaslav.kadmin
Enum KadminReply
- java.lang.Object
-
- java.lang.Enum<KadminReply>
-
- io.github.vyaslav.kadmin.KadminReply
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KadminReply>
public enum KadminReply extends java.lang.Enum<KadminReply>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_OCCUREDNO_REPLY_FOUNDOPERATION_NOT_PERMITTEDPRINCIPAL_ALREADY_CREATEDPRINCIPAL_ALREADY_DELETEDPRINCIPAL_CREATEDPRINCIPAL_DELETED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRegExp()KadminStatusgetStatus()static KadminReplyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KadminReply[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_OCCURED
public static final KadminReply ERROR_OCCURED
-
PRINCIPAL_ALREADY_CREATED
public static final KadminReply PRINCIPAL_ALREADY_CREATED
-
PRINCIPAL_ALREADY_DELETED
public static final KadminReply PRINCIPAL_ALREADY_DELETED
-
OPERATION_NOT_PERMITTED
public static final KadminReply OPERATION_NOT_PERMITTED
-
NO_REPLY_FOUND
public static final KadminReply NO_REPLY_FOUND
-
PRINCIPAL_CREATED
public static final KadminReply PRINCIPAL_CREATED
-
PRINCIPAL_DELETED
public static final KadminReply PRINCIPAL_DELETED
-
-
Method Detail
-
values
public static KadminReply[] 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 (KadminReply c : KadminReply.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KadminReply 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 namejava.lang.NullPointerException- if the argument is null
-
getRegExp
public java.lang.String getRegExp()
-
getStatus
public KadminStatus getStatus()
-
-