|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrchestrationTransitionRule
Defines the simplest type of transition rule which takes the form of "if Condition then Rule".
Created on Jul 26, 2005 Committed by $Author: vassil_momtchev $ $Source$
Method Summary | |
---|---|
void |
addRule(Rule rule)
Adds a nested Rule object |
void |
addRules(Set<Rule> rules)
Adds a set of rules |
void |
clearNestedRules()
Removes all the nested rules |
Condition |
getCondition()
Returns the Logical Expression which defines the condition of the rule. |
Set<Rule> |
listNestedRules()
Returns the list of Rule objects nested inside the transition rule |
void |
removeRule(Rule rule)
Removes a nested rule |
void |
setCondition(Condition condition)
Sets the Conditon of the rule. |
void |
setRules(Set<Rule> rules)
Sets the inner rules of the rule |
Methods inherited from interface org.wsmo.service.rule.Rule |
---|
accept, toString |
Method Detail |
---|
Condition getCondition()
void setCondition(Condition condition)
condition
- A Condition object defining the condition of the ruleSet<Rule> listNestedRules()
void setRules(Set<Rule> rules)
rules
- A set of Rule objects to be set
as the inner rulesvoid clearNestedRules()
void addRule(Rule rule)
rule
- Adds a nested Rule objectvoid addRules(Set<Rule> rules)
rules
- The set of Rule objects to be addedvoid removeRule(Rule rule)
rule
- Rule object to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |