Class ConnectionRuleImpl
- java.lang.Object
-
- org.uberfire.ext.wires.bpmn.api.model.impl.rules.ConnectionRuleImpl
-
- All Implemented Interfaces:
ConnectionRule,Rule,RuleByRole
@Portable public class ConnectionRuleImpl extends Object implements ConnectionRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.uberfire.ext.wires.bpmn.api.model.rules.ConnectionRule
ConnectionRule.PermittedConnection
-
-
Constructor Summary
Constructors Constructor Description ConnectionRuleImpl(String name, Role role, Set<ConnectionRule.PermittedConnection> permittedRoles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Set<ConnectionRule.PermittedConnection>getPermittedConnections()The Connections that are permitted by the Rule.RolegetRole()The Role for which the Rule applies.
-
-
-
Constructor Detail
-
ConnectionRuleImpl
public ConnectionRuleImpl(String name, Role role, Set<ConnectionRule.PermittedConnection> permittedRoles)
-
-
Method Detail
-
getRole
public Role getRole()
Description copied from interface:RuleByRoleThe Role for which the Rule applies. All Elements with this Role will be affected by the Rule.- Specified by:
getRolein interfaceRuleByRole- Returns:
-
getPermittedConnections
public Set<ConnectionRule.PermittedConnection> getPermittedConnections()
Description copied from interface:ConnectionRuleThe Connections that are permitted by the Rule. The source and target of the connection must have the Role defined in the PermittedConnection- Specified by:
getPermittedConnectionsin interfaceConnectionRule- Returns:
-
-