|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.agila.model.node.BaseNodeImpl
org.apache.agila.model.node.TestTaskNode
public class TestTaskNode
Simple demo of a node that assigns a task and waits for completion
Constructor Summary | |
---|---|
TestTaskNode()
|
Method Summary | |
---|---|
Connection[] |
doEnd(NodeContext ctx)
Second 'work method' for a node, called after doStart(). |
boolean |
doStart(NodeContext ctx)
Default implementation of doStart() - just returns true to allow the processing to continue |
Renderer |
getRenderer(NodeContext ctx,
java.lang.Class type)
|
ResponseHandler |
getResponseHandler(NodeContext ctx,
java.lang.Class type)
|
Methods inherited from class org.apache.agila.model.node.BaseNodeImpl |
---|
addActor, addBinding, addInboundConnection, addOutboundConnection, 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 |
---|
public TestTaskNode()
Method Detail |
---|
public boolean doStart(NodeContext ctx)
BaseNodeImpl
doStart
in interface Node
doStart
in class BaseNodeImpl
ctx
- execution context for this node
public Connection[] doEnd(NodeContext ctx)
Node
doEnd
in interface Node
public Renderer getRenderer(NodeContext ctx, java.lang.Class type)
getRenderer
in interface TaskActivity
public ResponseHandler getResponseHandler(NodeContext ctx, java.lang.Class type)
getResponseHandler
in interface TaskActivity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |