org.jbpm.workflow.core.node
Class MilestoneNode

java.lang.Object
  extended by org.jbpm.workflow.core.impl.NodeImpl
      extended by org.jbpm.workflow.core.impl.ExtendedNodeImpl
          extended by org.jbpm.workflow.core.node.StateBasedNode
              extended by 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

Field Summary
 
Fields inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
EVENT_NODE_ENTER, EVENT_NODE_EXIT
 
Fields inherited from class org.jbpm.workflow.core.impl.NodeImpl
EMPTY_NODE_ARRAY
 
Fields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE
 
Constructor Summary
MilestoneNode()
           
 
Method Summary
 void addConstraint(ConnectionRef connection, Constraint constraint)
          Adds the given constraint.
 String getConstraint()
           
 void setConstraint(String constraint)
           
 void validateAddIncomingConnection(String type, Connection connection)
           
 void validateAddOutgoingConnection(String type, Connection connection)
           
 
Methods inherited from class org.jbpm.workflow.core.node.StateBasedNode
addTimer, getTimers, removeAllTimers
 
Methods inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
containsActions, getActions, getActionTypes, setActions
 
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl
addIncomingConnection, addOutgoingConnection, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, removeIncomingConnection, removeOutgoingConnection, resolveContext, 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
 

Constructor Detail

MilestoneNode

public MilestoneNode()
Method Detail

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

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.