public static enum MProcessableElement.ExcludeMode extends java.lang.Enum<MProcessableElement.ExcludeMode>
Enum Constant and Description |
---|
Never
The plan is never removed.
|
WhenFailed
The plan is removed after it has been executed once, but only when it exited with an exception.
|
WhenSucceeded
The plan is removed after it has been executed once, but only when it exited without an exception.
|
WhenTried
The plan is removed after it has been executed once, regardless of success or failure or abortion.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
str |
Modifier and Type | Method and Description |
---|---|
static MProcessableElement.ExcludeMode |
getExcludeMode(java.lang.String name)
Convert from string to enum.
|
java.lang.String |
getString()
Get the string representation.
|
static MProcessableElement.ExcludeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MProcessableElement.ExcludeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MProcessableElement.ExcludeMode Never
public static final MProcessableElement.ExcludeMode WhenTried
public static final MProcessableElement.ExcludeMode WhenFailed
public static final MProcessableElement.ExcludeMode WhenSucceeded
public static MProcessableElement.ExcludeMode[] values()
for (MProcessableElement.ExcludeMode c : MProcessableElement.ExcludeMode.values()) System.out.println(c);
public static MProcessableElement.ExcludeMode 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 java.lang.String getString()
public static MProcessableElement.ExcludeMode getExcludeMode(java.lang.String name)