public enum EntryScope extends Enum<EntryScope>
Enum Constant and Description |
---|
CONNECTION
Entries with this scope will be automatically removed once the connection
to the topic which created them is deactivated.
|
TOPIC
This is the default scope and entries with this scope will be removed
only if explicitly requested.
|
Modifier and Type | Method and Description |
---|---|
static EntryScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryScope TOPIC
public static final EntryScope CONNECTION
public static EntryScope[] values()
for (EntryScope c : EntryScope.values()) System.out.println(c);
public static EntryScope 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 nullCopyright © 2024. All rights reserved.