|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.util.Rule
public class Rule
This class defines the rules to be used by the activation content aggregator this is simply a collection of node types.
Constructor Summary | |
---|---|
Rule()
|
|
Rule(java.lang.String[] allowedTypes)
Generate list from string array. |
|
Rule(java.lang.String allowedTypes,
java.lang.String separator)
Generate list from the string. |
Method Summary | |
---|---|
void |
addAllowType(java.lang.String nodeType)
Add to allow list. |
boolean |
isAllowed(java.lang.String nodeType)
True if given nodeType is allowed. |
void |
removeAllowType(java.lang.String nodeType)
Remove from allow list. |
void |
reverse()
Set reverse. |
java.lang.String |
toString()
Get a string representation of this rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Rule()
public Rule(java.lang.String[] allowedTypes)
allowedTypes
- public Rule(java.lang.String allowedTypes, java.lang.String separator)
allowedTypes
- separator
- Method Detail |
---|
public void addAllowType(java.lang.String nodeType)
nodeType
- public void removeAllowType(java.lang.String nodeType)
nodeType
- public boolean isAllowed(java.lang.String nodeType)
public java.lang.String toString()
toString
in class java.lang.Object
public void reverse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |