public class Rule extends Object
Resolvable
s against a given RuleTree
.Constructor and Description |
---|
Rule(RuleTree ruleTree)
Create an instance that matches against the given RuleTree
|
Modifier and Type | Method and Description |
---|---|
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
|
public Rule(RuleTree ruleTree)
ruleTree
- rule treepublic boolean match(Resolvable object)
object
- object to insert into rule for all object.* variablespublic boolean match()
public RuleTree getRuleTree()
public boolean isConstant()
Copyright © 2014 Gentics Software GmbH. All Rights Reserved.