public abstract static class IlvBPMNFlowValidator.FlowRule extends Object
IlvBPMNFlowValidator
.Modifier | Constructor and Description |
---|---|
protected |
FlowRule()
Default constructor of
IlvBPMNFlowValidator.FlowRule . |
Modifier and Type | Method and Description |
---|---|
boolean |
isValidSource(IlvSDMEngine engine,
Object flow,
Object source)
Checks if a given object is a valid source according to this flow rule.
|
boolean |
isValidTarget(IlvSDMEngine engine,
Object flow,
Object source,
Object target)
Checks if a given object is a valid target object according to
this flow rule.
|
protected FlowRule()
IlvBPMNFlowValidator.FlowRule
.public boolean isValidSource(IlvSDMEngine engine, Object flow, Object source)
IlvBPMNFlowValidator.isValidSource(IlvSDMEngine, Object, Object)
.engine
- The SDM engine containing the objects.flow
- The flow (or its template) that will start from the given
source object.source
- The source object to test.source
is valid according to this flow rule,
true
is returned.public boolean isValidTarget(IlvSDMEngine engine, Object flow, Object source, Object target)
IlvBPMNFlowValidator.isValidTarget(IlvSDMEngine, Object, Object, Object)
.engine
- The SDM engine containing the objects.flow
- The flow (or its template) that will connect the given objects.source
- The source object of the flow.target
- The target object to test.target
is a valid target object,
true
is returned.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.