public enum Enforcement extends Enum<Enforcement>
Combiner.prepare(CombinerSource, Enforcement) would
like the method to succeed.| Enum Constant and Description |
|---|
EXPECTED
The caller of
prepare does have a backup
plan should the method return null, but it is not a good one. |
FREE
|
HARD
prepare must return a value that
is not null. |
WHISHED
The caller of
prepare does have a backup
plan should the method return null, and it is a good one. |
| Modifier and Type | Method and Description |
|---|---|
float |
getForce()
|
static Enforcement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Enforcement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enforcement HARD
prepare must return a value that
is not null.public static final Enforcement EXPECTED
prepare does have a backup
plan should the method return null, but it is not a good one.public static final Enforcement WHISHED
prepare does have a backup
plan should the method return null, and it is a good one.public static final Enforcement FREE
public static Enforcement[] values()
for (Enforcement c : Enforcement.values()) System.out.println(c);
public static Enforcement 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 © 2017 Docking Frames. All rights reserved.