org.jbpm.workflow.core.node
Class MilestoneNode
java.lang.Object
org.jbpm.workflow.core.impl.NodeImpl
org.jbpm.workflow.core.impl.ExtendedNodeImpl
org.jbpm.workflow.core.node.StateBasedNode
org.jbpm.workflow.core.node.MilestoneNode
- All Implemented Interfaces:
- Serializable, Node, Contextable, ContextResolver, Constrainable
public class MilestoneNode
- extends StateBasedNode
- implements Constrainable
Default implementation of a milestone node.
- See Also:
- Serialized Form
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl |
addIncomingConnection, addOutgoingConnection, getConstraint, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MilestoneNode
public MilestoneNode()
addConstraint
public void addConstraint(ConnectionRef connection,
Constraint constraint)
- Description copied from interface:
Constrainable
- Adds the given constraint.
In cases where the constraint is associated with a specific connection,
this connection will be identified using a ConnectionRef. In other cases
the ConnectionRef will be null and can be ignored.
- Specified by:
addConstraint
in interface Constrainable
- Overrides:
addConstraint
in class NodeImpl
setConstraint
public void setConstraint(String constraint)
getConstraint
public String getConstraint()
validateAddIncomingConnection
public void validateAddIncomingConnection(String type,
Connection connection)
- Overrides:
validateAddIncomingConnection
in class NodeImpl
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type,
Connection connection)
- Overrides:
validateAddOutgoingConnection
in class NodeImpl
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.