|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.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()
Default |
|
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)
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)
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 |