public static enum TopicSelector.Type extends Enum<TopicSelector.Type>
Enum Constant and Description |
---|
FULL_PATH_PATTERN
The selector is a full-path pattern.
|
PATH
The selector is a simple topic path.
|
SELECTOR_SET
The selector is a composite of other selectors.
|
SPLIT_PATH_PATTERN
The selector is a split-path pattern.
|
Modifier and Type | Method and Description |
---|---|
char |
getExpressionPrefix()
The expression prefix character used for this type.
|
static TopicSelector.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicSelector.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicSelector.Type PATH
TopicSelectors.parse(String)
public static final TopicSelector.Type SPLIT_PATH_PATTERN
TopicSelectors.parse(String)
public static final TopicSelector.Type FULL_PATH_PATTERN
TopicSelectors.parse(String)
public static final TopicSelector.Type SELECTOR_SET
TopicSelectors.anyOf(TopicSelector...)
public static TopicSelector.Type[] values()
for (TopicSelector.Type c : TopicSelector.Type.values()) System.out.println(c);
public static TopicSelector.Type 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 char getExpressionPrefix()
TopicSelectors.parse(String)
Copyright © 2022 Push Technology Ltd. All Rights Reserved.