Package io.dialob.executor.command
Enum CommandFactory.ItemStatePredicates
- java.lang.Object
-
- java.lang.Enum<CommandFactory.ItemStatePredicates>
-
- io.dialob.executor.command.CommandFactory.ItemStatePredicates
-
- All Implemented Interfaces:
Serializable,Comparable<CommandFactory.ItemStatePredicates>,BiPredicate<ItemState,ItemState>
- Enclosing class:
- CommandFactory
public static enum CommandFactory.ItemStatePredicates extends Enum<CommandFactory.ItemStatePredicates> implements BiPredicate<ItemState,ItemState>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandFactory.ItemStatePredicatesvalueOf(String name)Returns the enum constant of this type with the specified name.static CommandFactory.ItemStatePredicates[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface java.util.function.BiPredicate
and, negate, or, test
-
-
-
-
Enum Constant Detail
-
ALWAYS
public static final CommandFactory.ItemStatePredicates ALWAYS
-
ITEM_STATE_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_STATE_CHANGED
-
GROUP_ITEMS_CHANGED
public static final CommandFactory.ItemStatePredicates GROUP_ITEMS_CHANGED
-
ITEM_ACTIVITY_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_ACTIVITY_CHANGED
-
ITEM_LABEL_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_LABEL_CHANGED
-
ITEM_DESCRIPTION_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_DESCRIPTION_CHANGED
-
ITEM_REQUIRED_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_REQUIRED_CHANGED
-
ITEM_STATUS_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_STATUS_CHANGED
-
ITEM_INVALIDITY_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_INVALIDITY_CHANGED
-
ITEM_INVALID_ANSWERS_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_INVALID_ANSWERS_CHANGED
-
ITEM_ANSWERED_STATE_CHANGED
public static final CommandFactory.ItemStatePredicates ITEM_ANSWERED_STATE_CHANGED
-
-
Method Detail
-
values
public static CommandFactory.ItemStatePredicates[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandFactory.ItemStatePredicates c : CommandFactory.ItemStatePredicates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandFactory.ItemStatePredicates valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-