public static enum MultiplePolicyRetryPolicy.Operator extends java.lang.Enum<MultiplePolicyRetryPolicy.Operator>
Enum Constant and Description |
---|
AND
Requires all policies to show an error for this to be an error
|
OR
Requires any of the policies to show an error for this to be an error
|
XOR
Requires an odd number of the policies to show an error.
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract boolean |
apply(boolean... values) |
static MultiplePolicyRetryPolicy.Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiplePolicyRetryPolicy.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiplePolicyRetryPolicy.Operator AND
public static final MultiplePolicyRetryPolicy.Operator OR
public static final MultiplePolicyRetryPolicy.Operator XOR
public static MultiplePolicyRetryPolicy.Operator[] values()
for (MultiplePolicyRetryPolicy.Operator c : MultiplePolicyRetryPolicy.Operator.values()) System.out.println(c);
public static MultiplePolicyRetryPolicy.Operator 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 nullabstract boolean apply(boolean... values)