public static enum ChangeOrRemoveElement.IfNotPresent extends java.lang.Enum<ChangeOrRemoveElement.IfNotPresent>
TOExecutionResult.Type
,
although they are intentionally not supposed to match necessarily one-to-one.Enum Constant and Description |
---|
Fail
Fail if the element to be changed or removed is not present
|
NoOp
Warn if the element to be changed or removed is not present
|
Warn
Do nothing, not warn neither fail, if the element to be changed or removed is not present
|
Modifier and Type | Method and Description |
---|---|
static ChangeOrRemoveElement.IfNotPresent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeOrRemoveElement.IfNotPresent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeOrRemoveElement.IfNotPresent Fail
public static final ChangeOrRemoveElement.IfNotPresent NoOp
public static final ChangeOrRemoveElement.IfNotPresent Warn
public static ChangeOrRemoveElement.IfNotPresent[] values()
for (ChangeOrRemoveElement.IfNotPresent c : ChangeOrRemoveElement.IfNotPresent.values()) System.out.println(c);
public static ChangeOrRemoveElement.IfNotPresent 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 null