@Beta public enum HistoryItemType extends Enum<HistoryItemType>
Enum Constant and Description |
---|
ACTION |
CONFIGURATION_UPDATE |
STATE_UPDATE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static HistoryItemType |
fromValue(String value) |
String |
toString() |
String |
value() |
static HistoryItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoryItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoryItemType CONFIGURATION_UPDATE
public static final HistoryItemType STATE_UPDATE
public static final HistoryItemType ACTION
public static final HistoryItemType UNRECOGNIZED
public static HistoryItemType[] values()
for (HistoryItemType c : HistoryItemType.values()) System.out.println(c);
public static HistoryItemType 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 String value()
public String toString()
toString
in class Enum<HistoryItemType>
public static HistoryItemType fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.