Package org.ametys.runtime.config
Class DisableConditions
- java.lang.Object
-
- org.ametys.runtime.config.DisableConditions
-
public class DisableConditions extends Object
Disable conditions for config parameters. Composed by a list of conditions or disable conditions and a association operator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisableConditions.ASSOCIATION_TYPE
Association between sub conditions
-
Field Summary
Fields Modifier and Type Field Description private DisableConditions.ASSOCIATION_TYPE
_associationType
private List<DisableCondition>
_conditionList
private List<DisableConditions>
_subConditionsList
-
Constructor Summary
Constructors Constructor Description DisableConditions()
Creates a disable conditions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisableConditions.ASSOCIATION_TYPE
getAssociationType()
Get the associationList<DisableCondition>
getConditions()
Get the conditionsList<DisableConditions>
getSubConditions()
Get the sub conditionsvoid
setAssociation(DisableConditions.ASSOCIATION_TYPE associationType)
Set the association
-
-
-
Field Detail
-
_associationType
private DisableConditions.ASSOCIATION_TYPE _associationType
-
_subConditionsList
private final List<DisableConditions> _subConditionsList
-
_conditionList
private final List<DisableCondition> _conditionList
-
-
Constructor Detail
-
DisableConditions
public DisableConditions()
Creates a disable conditions
-
-
Method Detail
-
getConditions
public List<DisableCondition> getConditions()
Get the conditions- Returns:
- The list of conditions
-
getSubConditions
public List<DisableConditions> getSubConditions()
Get the sub conditions- Returns:
- The list of underlying conditions
-
getAssociationType
public DisableConditions.ASSOCIATION_TYPE getAssociationType()
Get the association- Returns:
- The association
-
setAssociation
public void setAssociation(DisableConditions.ASSOCIATION_TYPE associationType)
Set the association- Parameters:
associationType
- The new association between underlying conditions
-
-