Package systems.dmx.core.service
Enum Directive
- java.lang.Object
-
- java.lang.Enum<Directive>
-
- systems.dmx.core.service.Directive
-
- All Implemented Interfaces:
Serializable
,Comparable<Directive>
public enum Directive extends Enum<Directive>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_ASSOC
DELETE_ASSOC_TYPE
DELETE_ROLE_TYPE
DELETE_TOPIC
DELETE_TOPIC_TYPE
UPDATE_ASSOC
UPDATE_ASSOC_TYPE
UPDATE_ROLE_TYPE
UPDATE_TOPIC
UPDATE_TOPIC_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Directive
valueOf(String name)
Returns the enum constant of this type with the specified name.static Directive[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE_TOPIC
public static final Directive UPDATE_TOPIC
-
DELETE_TOPIC
public static final Directive DELETE_TOPIC
-
UPDATE_ASSOC
public static final Directive UPDATE_ASSOC
-
DELETE_ASSOC
public static final Directive DELETE_ASSOC
-
UPDATE_TOPIC_TYPE
public static final Directive UPDATE_TOPIC_TYPE
-
DELETE_TOPIC_TYPE
public static final Directive DELETE_TOPIC_TYPE
-
UPDATE_ASSOC_TYPE
public static final Directive UPDATE_ASSOC_TYPE
-
DELETE_ASSOC_TYPE
public static final Directive DELETE_ASSOC_TYPE
-
UPDATE_ROLE_TYPE
public static final Directive UPDATE_ROLE_TYPE
-
DELETE_ROLE_TYPE
public static final Directive DELETE_ROLE_TYPE
-
-
Method Detail
-
values
public static Directive[] 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 (Directive c : Directive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Directive 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 nameNullPointerException
- if the argument is null
-
-