public enum StatsCollectionState extends Enum<StatsCollectionState>
StatsComponent
.Enum Constant and Description |
---|
DISABLED
State that disables stats collection.
|
ENABLED
State that fully enables stats collection.
|
Modifier and Type | Method and Description |
---|---|
static StatsCollectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatsCollectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsCollectionState ENABLED
The StatsComponent
collects stats for registered views.
public static final StatsCollectionState DISABLED
The StatsComponent
does not need to collect stats for registered views and may
return empty ViewData
s from ViewManager.getView(View.Name)
.
public static StatsCollectionState[] values()
for (StatsCollectionState c : StatsCollectionState.values()) System.out.println(c);
public static StatsCollectionState 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