|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gentics.api.lib.rule.Rule
public class Rule
Instances of Class Rule can be used to match Resolvables against a given RuleTree.
| Constructor Summary | |
|---|---|
Rule(RuleTree ruleTree)
Create an instance that matches against the given RuleTree |
|
| Method Summary | |
|---|---|
RuleTree |
getRuleTree()
Get the RuleTree this Rule uses |
boolean |
isConstant()
Check whether the rule is constant or not. |
boolean |
match()
Match the rule |
boolean |
match(Resolvable object)
Match the given Resolvable against the rule tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rule(RuleTree ruleTree)
ruleTree - rule tree| Method Detail |
|---|
public boolean match(Resolvable object)
object - object to insert into rule for all object.* variables
public boolean match()
public RuleTree getRuleTree()
public boolean isConstant()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||