public static enum RulesToolkit.EventAvailability extends Enum<RulesToolkit.EventAvailability>
| Enum Constant and Description |
|---|
AVAILABLE
The type has events available in the collection.
|
DISABLED
The type was actively disabled in the collection.
|
ENABLED
The type was actively enabled in the collection.
|
NONE
The type is known in the collection, but no events were found.
|
UNKNOWN
The type is unknown in the collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLessAvailableThan(RulesToolkit.EventAvailability availability)
Returns true if this EventAvailability is less available than the provided one.
|
static RulesToolkit.EventAvailability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RulesToolkit.EventAvailability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RulesToolkit.EventAvailability AVAILABLE
public static final RulesToolkit.EventAvailability ENABLED
public static final RulesToolkit.EventAvailability DISABLED
public static final RulesToolkit.EventAvailability NONE
public static final RulesToolkit.EventAvailability UNKNOWN
public static RulesToolkit.EventAvailability[] values()
for (RulesToolkit.EventAvailability c : RulesToolkit.EventAvailability.values()) System.out.println(c);
public static RulesToolkit.EventAvailability 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 isLessAvailableThan(RulesToolkit.EventAvailability availability)
availability - the RulesToolkit.EventAvailability to compare to.Copyright © 2020. All rights reserved.