public static enum ExtendedModeEnablement.Availability extends Enum<ExtendedModeEnablement.Availability>
ExtendedModeEnablement.Availability
s are present,
the first one of this list wins:
Enum Constant and Description |
---|
STRONG_AVAILABLE
the mode is most certainly available
|
STRONG_FORBIDDEN
the mode is not available
|
UNCERTAIN
the strategy cannot decide, some other code will make the decision
|
WEAK_AVAILABLE
the mode is probably available
|
WEAK_FORBIDDEN
the mode is probably not available
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable()
Tells whether this
ExtendedModeEnablement.Availability means "available" or "forbidden". |
ExtendedModeEnablement.Availability |
strongest(ExtendedModeEnablement.Availability other)
|
static ExtendedModeEnablement.Availability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendedModeEnablement.Availability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtendedModeEnablement.Availability STRONG_AVAILABLE
public static final ExtendedModeEnablement.Availability WEAK_AVAILABLE
public static final ExtendedModeEnablement.Availability UNCERTAIN
public static final ExtendedModeEnablement.Availability WEAK_FORBIDDEN
public static final ExtendedModeEnablement.Availability STRONG_FORBIDDEN
public static ExtendedModeEnablement.Availability[] values()
for (ExtendedModeEnablement.Availability c : ExtendedModeEnablement.Availability.values()) System.out.println(c);
public static ExtendedModeEnablement.Availability 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 nullpublic boolean isAvailable()
ExtendedModeEnablement.Availability
means "available" or "forbidden".true
if this
means "available".public ExtendedModeEnablement.Availability strongest(ExtendedModeEnablement.Availability other)
other
- some other ExtendedModeEnablement.Availability
this
and other