public static class ConditionFactory.RoleCondition extends java.lang.Object implements Condition
Condition.Context, Condition.ToTagConvertable| Modifier and Type | Field and Description |
|---|---|
(package private) ConditionFactory.Op |
op |
(package private) java.lang.String |
role |
| Constructor and Description |
|---|
RoleCondition(java.lang.String role,
ConditionFactory.Op op)
Constructs a new
RoleCondition. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(Environment env)
Checks if the condition applies in the given MapCSS
Environment. |
final java.lang.String role
final ConditionFactory.Op op
public RoleCondition(java.lang.String role, ConditionFactory.Op op)
RoleCondition.role - roleop - operationpublic boolean applies(Environment env)
ConditionEnvironment.