public static enum ChangeOrRemoveElement.IfNotPresent extends 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(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(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 nullCopyright © 2018. All rights reserved.