public static enum SpiConstants.ActionType extends java.lang.Enum<SpiConstants.ActionType>
Modifier and Type | Method and Description |
---|---|
static SpiConstants.ActionType |
findActionType(java.lang.String tag) |
java.lang.String |
toString() |
static SpiConstants.ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpiConstants.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpiConstants.ActionType ADD
public static final SpiConstants.ActionType DELETE
public static final SpiConstants.ActionType ERROR
public static final SpiConstants.ActionType SKIPPED
public static SpiConstants.ActionType[] values()
for (SpiConstants.ActionType c : SpiConstants.ActionType.values()) System.out.println(c);
public static SpiConstants.ActionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SpiConstants.ActionType findActionType(java.lang.String tag)
tag
.
ActionType.ERROR
will be returned if the given
tag
does not match a known ActionType
.public java.lang.String toString()
toString
in class java.lang.Enum<SpiConstants.ActionType>