Class SetCondition<T>
java.lang.Object
com.inductiveautomation.ignition.common.tags.query.conditions.SetCondition<T>
- All Implemented Interfaces:
Condition<Set<T>>
,Serializable
This condition does set comparison. It can require that all values of the condition be present, or just any of them.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
int
hashCode()
boolean
Returns whether the provided value passes the condition.void
setRequiresAllValues
(boolean value) If true, requires that all defined values be present in the incoming value.
-
Constructor Details
-
SetCondition
public SetCondition() -
SetCondition
-
-
Method Details
-
getValues
-
getRequiresAllValues
public boolean getRequiresAllValues() -
setRequiresAllValues
public void setRequiresAllValues(boolean value) If true, requires that all defined values be present in the incoming value. If false, will pass if ANY of the defined values are present. -
add
-
passes
Description copied from interface:Condition
Returns whether the provided value passes the condition. -
equals
-
hashCode
public int hashCode()
-