public class DisableCondition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DisableCondition.OPERATOR
The available operators
|
Modifier and Type | Field and Description |
---|---|
private String |
_id |
private DisableCondition.OPERATOR |
_operator |
private String |
_value |
Constructor and Description |
---|
DisableCondition(String id,
DisableCondition.OPERATOR operator,
String value)
Creates a condition
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the id
|
DisableCondition.OPERATOR |
getOperator()
Get the operator
|
String |
getValue()
Get the value
|
private final DisableCondition.OPERATOR _operator
public DisableCondition(String id, DisableCondition.OPERATOR operator, String value)
id
- The parameter idoperator
- comparison operator of the condition ('eq'...)value
- value to compare topublic DisableCondition.OPERATOR getOperator()