public static enum OperationContext.ResultAction extends Enum<OperationContext.ResultAction>
Enum Constant and Description |
---|
KEEP
The operation will be committed to the model and/or runtime.
|
ROLLBACK
The operation will be reverted.
|
Modifier and Type | Method and Description |
---|---|
static OperationContext.ResultAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationContext.ResultAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationContext.ResultAction KEEP
public static final OperationContext.ResultAction ROLLBACK
public static OperationContext.ResultAction[] values()
for (OperationContext.ResultAction c : OperationContext.ResultAction.values()) System.out.println(c);
public static OperationContext.ResultAction 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 JBoss by Red Hat. All rights reserved.