org.apache.agila.model.node
Class BaseNodeImpl
java.lang.Object
org.apache.agila.model.node.BaseNodeImpl
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- AndJoinNode, DelayNode, ForkNode, HelloWorldActivity, LeaveApplicationTask, LeaveApprovalTask, SimpleDecision, StartNode, StopNode, TestNotification, TestTaskNode
public abstract class BaseNodeImpl
- extends java.lang.Object
- implements Node
Base implementation of a node in the graph
- Version:
- $Id: $
- Author:
- Geir Magnusson Jr.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.agila.model.Node |
doEnd |
BaseNodeImpl
public BaseNodeImpl()
doStart
public boolean doStart(NodeContext ctx)
- Default implementation of doStart() - just returns
true to allow the processing to continue
- Specified by:
doStart
in interface Node
- Parameters:
ctx
-
- Returns:
setInboundConnections
public void setInboundConnections(Connection[] list)
- Specified by:
setInboundConnections
in interface Node
getInboundConnections
public Connection[] getInboundConnections()
- Specified by:
getInboundConnections
in interface Node
setOutboundConnections
public void setOutboundConnections(Connection[] list)
- Specified by:
setOutboundConnections
in interface Node
getOutboundConnections
public Connection[] getOutboundConnections()
- Specified by:
getOutboundConnections
in interface Node
setNodeId
public void setNodeId(NodeID id)
- Specified by:
setNodeId
in interface Node
getNodeId
public NodeID getNodeId()
- Specified by:
getNodeId
in interface Node
addOutboundConnection
public void addOutboundConnection(Connection conn)
- Specified by:
addOutboundConnection
in interface Node
addInboundConnection
public void addInboundConnection(Connection conn)
- Specified by:
addInboundConnection
in interface Node
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface Node
setDisplayName
public void setDisplayName(java.lang.String name)
- Specified by:
setDisplayName
in interface Node
addActor
public void addActor(Actor actor)
- Specified by:
addActor
in interface Node
getActors
public Actor[] getActors()
- Specified by:
getActors
in interface Node
addBinding
public void addBinding(Binding b)
- Specified by:
addBinding
in interface Node
getBindings
public java.util.Map getBindings()
- Specified by:
getBindings
in interface Node
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.