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_ARRAY
CONNECTION_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, validateRemoveOutgoingConnection
public 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 NodeImpl
public Constraint internalGetConstraint(ConnectionRef ref)
internalGetConstraint
in class NodeImpl
public void setConstraint(org.kie.api.definition.process.Connection connection, Constraint constraint)
setConstraint
in class NodeImpl
public void addConstraint(ConnectionRef connectionRef, Constraint constraint)
Constrainable
addConstraint
in interface Constrainable
addConstraint
in class NodeImpl
public Map<ConnectionRef,Constraint> getConstraints()
getConstraints
in class NodeImpl
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddIncomingConnection
in class NodeImpl
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddOutgoingConnection
in class NodeImpl
public void removeOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
removeOutgoingConnection
in class NodeImpl
public void removeConstraint(org.kie.api.definition.process.Connection connection)
public void internalRemoveConstraint(ConnectionRef ref)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.