@ApplicationScoped public class DefaultRuleManagerImpl extends Object implements RuleManager
RuleManager.Operation| Constructor and Description |
|---|
DefaultRuleManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule)
Add a rule to the Rule Manager
|
Results |
checkCardinality(BpmnGraph target,
BpmnGraphNode candidate,
RuleManager.Operation operation)
Check whether adding the proposed Node to the target Process breaks any cardinality Rules
|
Results |
checkCardinality(BpmnGraphNode outgoingNode,
BpmnGraphNode incomingNode,
BpmnEdge edge,
RuleManager.Operation operation)
Check whether adding the proposed Edge to the target Process breaks any cardinality Rules
|
Results |
checkConnectionRules(BpmnGraphNode outgoingNode,
BpmnGraphNode incomingNode,
BpmnEdge edge)
Check whether adding the proposed Edge to the target Process breaks any connection Rules
|
Results |
checkContainment(BpmnGraph target,
BpmnGraphNode candidate)
Check whether adding the proposed Node to the target Process breaks any containment Rules
|
public void addRule(Rule rule)
RuleManageraddRule in interface RuleManagerpublic Results checkContainment(BpmnGraph target, BpmnGraphNode candidate)
RuleManagercheckContainment in interface RuleManagertarget - Target processcandidate - Candidate nodepublic Results checkCardinality(BpmnGraph target, BpmnGraphNode candidate, RuleManager.Operation operation)
RuleManagercheckCardinality in interface RuleManagertarget - Target processcandidate - Candidate nodeoperation - Is the candidate Node being added or removedpublic Results checkConnectionRules(BpmnGraphNode outgoingNode, BpmnGraphNode incomingNode, BpmnEdge edge)
RuleManagercheckConnectionRules in interface RuleManageroutgoingNode - Node from which the Edge will emanateincomingNode - Node to which the Edge will terminateedge - Candidate edgepublic Results checkCardinality(BpmnGraphNode outgoingNode, BpmnGraphNode incomingNode, BpmnEdge edge, RuleManager.Operation operation)
RuleManagercheckCardinality in interface RuleManageroutgoingNode - Node from which the Edge will emanateincomingNode - Node to which the Edge will terminateedge - Candidate edgeCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.