Enum Class TopicSelector.Type
- All Implemented Interfaces:
Serializable,Comparable<TopicSelector.Type>,Constable
- Enclosing interface:
- TopicSelector
Topic selector type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe selector is a full-path pattern.The selector is a simple topic path.The selector is a composite of other selectors.The selector is a split-path pattern. -
Method Summary
Modifier and TypeMethodDescriptioncharThe expression prefix character used for this type.static TopicSelector.TypeReturns the enum constant of this class with the specified name.static TopicSelector.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PATH
The selector is a simple topic path.- See Also:
-
SPLIT_PATH_PATTERN
The selector is a split-path pattern.- See Also:
-
FULL_PATH_PATTERN
The selector is a full-path pattern.- See Also:
-
SELECTOR_SET
The selector is a composite of other selectors.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getExpressionPrefix
public char getExpressionPrefix()The expression prefix character used for this type.- Returns:
- The prefix.
- See Also:
-