Class TagPermissionCondition
- java.lang.Object
-
- com.inductiveautomation.ignition.common.tags.search.conditions.TagPermissionCondition
-
- All Implemented Interfaces:
Condition<TagPermissionsModel>
,java.io.Serializable
public class TagPermissionCondition extends java.lang.Object implements Condition<TagPermissionsModel>
A Condition implementation with the smarts to be able to search a TagPermissionsModel for a certain value- Since:
- 8.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TagPermissionCondition.TagPermissionSubCondition
-
Constructor Summary
Constructors Constructor Description TagPermissionCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
passes(TagPermissionsModel target)
Returns whether the provided value passes the condition.TagPermissionCondition
requiredProperty(Property<?> property, java.lang.Object value, ComparisonOperator op)
Adds a required property sub-condition.
-
-
-
Method Detail
-
passes
public boolean passes(TagPermissionsModel target)
Description copied from interface:Condition
Returns whether the provided value passes the condition.- Specified by:
passes
in interfaceCondition<TagPermissionsModel>
-
requiredProperty
public TagPermissionCondition requiredProperty(Property<?> property, java.lang.Object value, ComparisonOperator op)
Adds a required property sub-condition. All required sub-conditions must pass for the overall condition to pass.- Parameters:
property
- the Property that holds the value we are looking forvalue
- the value that we are looking forop
- the ComparisonOperator to use
-
-