Package org.ametys.runtime.config
Class DisableCondition
- java.lang.Object
-
- org.ametys.runtime.config.DisableCondition
-
public class DisableCondition extends Object
A disable condition for config parameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisableCondition.OPERATOR
The available operators
-
Constructor Summary
Constructors Constructor Description DisableCondition(String id, DisableCondition.OPERATOR operator, String value)
Creates a condition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the idDisableCondition.OPERATOR
getOperator()
Get the operatorString
getValue()
Get the value
-
-
-
Constructor Detail
-
DisableCondition
public DisableCondition(String id, DisableCondition.OPERATOR operator, String value)
Creates a condition- Parameters:
id
- The parameter idoperator
- comparison operator of the condition ('eq'...)value
- value to compare to
-
-
Method Detail
-
getOperator
public DisableCondition.OPERATOR getOperator()
Get the operator- Returns:
- The comparison operator
-
-