org.apache.agila.model.node
Class SimpleDecision

java.lang.Object
  extended by org.apache.agila.model.node.BaseNodeImpl
      extended by org.apache.agila.model.node.SimpleDecision
All Implemented Interfaces:
Node

public class SimpleDecision
extends BaseNodeImpl

(c) 2004 Gluecode Software Inc.

Version:
$Id: $
Author:
Geir Magnusson Jr.

Constructor Summary
SimpleDecision()
           
 
Method Summary
 Connection[] doEnd(NodeContext ctx)
          Second 'work method' for a node, called after doStart().
 
Methods inherited from class org.apache.agila.model.node.BaseNodeImpl
addActor, addBinding, addInboundConnection, addOutboundConnection, doStart, getActors, getBindings, getDisplayName, getInboundConnections, getNodeId, getOutboundConnections, setDisplayName, setInboundConnections, setNodeId, setOutboundConnections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDecision

public SimpleDecision()
Method Detail

doEnd

public Connection[] doEnd(NodeContext ctx)
Second 'work method' for a node, called after doStart(). This method should do any post action (task, timer, etc) cleanup and then make a decision among the possible connections which connection (or connections, in the case of a node that forks) should be transversed.

Parameters:
ctx -
Returns:
one or more connections to transverse, or null if processing for this instance should stop


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.