public class Split extends NodeImpl implements Constrainable
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_AND
All outgoing connections of a split of this type are triggered
when its incoming connection has been triggered.
|
static int |
TYPE_OR
One or multiple outgoing connections of a split of this type are
triggered when its incoming connection has been triggered.
|
static int |
TYPE_UNDEFINED |
static int |
TYPE_XAND |
static int |
TYPE_XOR
Exactly one outgoing connection of a split of this type is triggered
when its incoming connection has been triggered.
|
constraints, EMPTY_NODE_ARRAYCONNECTION_DEFAULT_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(ConnectionRef connectionRef,
Constraint constraint)
Adds the given constraint.
|
Constraint |
getConstraint(org.kie.api.definition.process.Connection connection) |
Map<ConnectionRef,Constraint> |
getConstraints() |
int |
getType() |
Constraint |
internalGetConstraint(ConnectionRef ref) |
void |
internalRemoveConstraint(ConnectionRef ref) |
boolean |
isDefault(org.kie.api.definition.process.Connection connection) |
void |
removeConstraint(org.kie.api.definition.process.Connection connection) |
void |
removeOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection) |
void |
setConstraint(org.kie.api.definition.process.Connection connection,
Constraint constraint) |
void |
setType(int type) |
void |
validateAddIncomingConnection(String type,
org.kie.api.definition.process.Connection connection) |
void |
validateAddOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection) |
addIncomingConnection, addOutgoingConnection, clearIncomingConnection, clearOutgoingConnection, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, removeIncomingConnection, resolveContext, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnectionpublic static final int TYPE_UNDEFINED
public static final int TYPE_AND
public static final int TYPE_XOR
public static final int TYPE_OR
public static final int TYPE_XAND
public void setType(int type)
public int getType()
public boolean isDefault(org.kie.api.definition.process.Connection connection)
public Constraint getConstraint(org.kie.api.definition.process.Connection connection)
getConstraint in class NodeImplpublic Constraint internalGetConstraint(ConnectionRef ref)
internalGetConstraint in class NodeImplpublic void setConstraint(org.kie.api.definition.process.Connection connection,
Constraint constraint)
setConstraint in class NodeImplpublic void addConstraint(ConnectionRef connectionRef, Constraint constraint)
ConstrainableaddConstraint in interface ConstrainableaddConstraint in class NodeImplpublic Map<ConnectionRef,Constraint> getConstraints()
getConstraints in class NodeImplpublic void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddIncomingConnection in class NodeImplpublic void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddOutgoingConnection in class NodeImplpublic void removeOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
removeOutgoingConnection in class NodeImplpublic void removeConstraint(org.kie.api.definition.process.Connection connection)
public void internalRemoveConstraint(ConnectionRef ref)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.