public enum ActionAcceptance extends java.lang.Enum<ActionAcceptance>
ACCEPT
: Action is acceptable -- i.e. it does not violate goal constraints.REPLICA_REJECT
: Action is rejected in replica-level; but, the destination broker may potentially accept
actions of the same ActionType
from the source broker specified in the given action.BROKER_REJECT
: Action is rejected in broker-level; hence, the destination broker does not accept actions
of the same ActionType
from the source broker specified in the given action.Enum Constant and Description |
---|
ACCEPT |
BROKER_REJECT |
REPLICA_REJECT |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ActionAcceptance> |
cachedValues() |
static ActionAcceptance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionAcceptance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionAcceptance ACCEPT
public static final ActionAcceptance REPLICA_REJECT
public static final ActionAcceptance BROKER_REJECT
public static ActionAcceptance[] values()
for (ActionAcceptance c : ActionAcceptance.values()) System.out.println(c);
public static ActionAcceptance 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 java.util.List<ActionAcceptance> cachedValues()