|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.doc.rulebase.ValidationDocumentRuleSet
public class ValidationDocumentRuleSet
Constructor Summary | |
---|---|
ValidationDocumentRuleSet()
|
|
ValidationDocumentRuleSet(IRuleBase iRuleBase)
|
Method Summary | |
---|---|
void |
addRule(IRule rule)
add a rule to this ruleset |
String |
getExecutionPointName()
get the name of the execution point descriptor that triggers rules in this ruleset |
String |
getName()
get the name of this ruleset |
IRule |
getRule(String name)
get the rule with the given name |
IRuleBase |
getRuleBase()
get the rulebase to which this ruleset belongs |
IRuleFactory |
getRuleFactory()
get the rule factory responsible for creating rules in this ruleset |
IRuleMapping |
getRuleMap()
|
IRule[] |
getRules()
return all of the rules within this ruleset |
boolean |
isEnabled()
return whether or not this ruleset is enabled |
void |
removeRule(String name)
remove the rule with the given name |
void |
setEnabled(boolean enabled)
set whether or not this ruleset is enabled. |
void |
setExecutionPoint(String executionPoint)
set the name of the execution point that triggered this ruleset \ |
void |
setName(String name)
set the name of this ruleset |
void |
setRuleBase(IRuleBase iRuleBase)
set the rulebase to which this ruleset belongs |
void |
setRuleFactory(IRuleFactory factory)
set the rule factory for this ruleset. |
void |
setRuleMap(IRuleMapping ruleMapping)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDocumentRuleSet()
public ValidationDocumentRuleSet(IRuleBase iRuleBase)
Method Detail |
---|
public void addRule(IRule rule)
IRuleSet
addRule
in interface IRuleSet
public String getExecutionPointName()
IRuleSet
getExecutionPointName
in interface IRuleSet
public String getName()
IRuleSet
getName
in interface IRuleSet
public IRule getRule(String name)
IRuleSet
getRule
in interface IRuleSet
name
- name of desired rule
null
if no such rule
exists in this rulesetpublic IRuleBase getRuleBase()
IRuleSet
getRuleBase
in interface IRuleSet
public IRuleFactory getRuleFactory()
IRuleSet
getRuleFactory
in interface IRuleSet
public IRule[] getRules()
IRuleSet
getRules
in interface IRuleSet
public boolean isEnabled()
IRuleSet
isEnabled
in interface IRuleSet
true
if this ruleset is enabled,
false
otherwiseIRuleSet.setEnabled(boolean)
public void removeRule(String name)
IRuleSet
removeRule
in interface IRuleSet
name
- name of rule to be removedpublic void setEnabled(boolean enabled)
IRuleSet
setEnabled
in interface IRuleSet
public void setExecutionPoint(String executionPoint)
IRuleSet
setExecutionPoint
in interface IRuleSet
executionPoint
- name of executionPointpublic void setName(String name)
IRuleSet
setName
in interface IRuleSet
public void setRuleBase(IRuleBase iRuleBase)
IRuleSet
setRuleBase
in interface IRuleSet
public void setRuleFactory(IRuleFactory factory)
IRuleSet
setRuleFactory
in interface IRuleSet
public IRuleMapping getRuleMap()
public void setRuleMap(IRuleMapping ruleMapping)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |