public enum TaggingState extends Enum<TaggingState>
TagsComponent
.Enum Constant and Description |
---|
DISABLED
State that disables tagging.
|
ENABLED
State that fully enables tagging.
|
Modifier and Type | Method and Description |
---|---|
static TaggingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaggingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaggingState ENABLED
The TagsComponent
can add tags to TagContext
s, propagate TagContext
s
in the current context, and serialize TagContext
s.
public static final TaggingState DISABLED
The TagsComponent
may not add tags to TagContext
s, propagate TagContext
s in the current context, or serialize TagContext
s.
public static TaggingState[] values()
for (TaggingState c : TaggingState.values()) System.out.println(c);
public static TaggingState 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 null