public interface RuleManager
Modifier and Type | Interface and Description |
---|---|
static class |
RuleManager.Operation
Rules are applied against an unmodified Graph to check whether the proposed mutated state is valid.
|
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
|
void addRule(Rule rule)
rule
- Results checkContainment(BpmnGraph target, BpmnGraphNode candidate)
target
- Target processcandidate
- Candidate nodeResults checkCardinality(BpmnGraph target, BpmnGraphNode candidate, RuleManager.Operation operation)
target
- Target processcandidate
- Candidate nodeoperation
- Is the candidate Node being added or removedResults checkConnectionRules(BpmnGraphNode outgoingNode, BpmnGraphNode incomingNode, BpmnEdge edge)
outgoingNode
- Node from which the Edge will emanateincomingNode
- Node to which the Edge will terminateedge
- Candidate edgeResults checkCardinality(BpmnGraphNode outgoingNode, BpmnGraphNode incomingNode, BpmnEdge edge, RuleManager.Operation operation)
outgoingNode
- Node from which the Edge will emanateincomingNode
- Node to which the Edge will terminateedge
- Candidate edgeoperation
- Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.