java.lang.Object
com.inductiveautomation.ignition.common.alarming.query.conditions.EnumCondition<T>
- All Implemented Interfaces:
Condition<T>, Serializable
Condition that specifies a set of enum values, any of which will pass.
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
boolean
Returns whether the provided value passes the condition.
-
Constructor Details
-
EnumCondition
public EnumCondition(T... values)
-
Method Details
-
-
passes
public boolean passes(T value)
Returns whether the provided value passes the condition.
- Specified by:
passes in interface Condition<T extends Enum<?>>
-