public abstract class AbstractConditions extends AbstractCondition
Constructor and Description |
---|
AbstractConditions(RewriteDispatch rewriteDispatch) |
Modifier and Type | Method and Description |
---|---|
<T extends Condition> |
add(T condition) |
void |
addAnd(AndConditions and) |
void |
addNot(NotConditions not) |
void |
addOr(OrConditions or) |
void |
addUnless(ConditionConfig condition) |
void |
addWhen(ConditionConfig condition) |
AndConditions |
createAnd() |
NotConditions |
createNot() |
OrConditions |
createOr() |
protected Condition[] |
getConditions() |
void |
init()
Called at initialization time.
|
addHeaderValue, destroy, getTagName, required
public AbstractConditions(RewriteDispatch rewriteDispatch)
public <T extends Condition> T add(T condition)
public void addWhen(ConditionConfig condition)
public void addUnless(ConditionConfig condition)
public AndConditions createAnd()
public void addAnd(AndConditions and)
public NotConditions createNot()
public void addNot(NotConditions not)
public OrConditions createOr()
public void addOr(OrConditions or)
@PostConstruct public void init()
Condition
init
in interface Condition
init
in class AbstractCondition
protected Condition[] getConditions()