org.globus.cog.karajan.workflow.nodes
Class ProjectNode

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.nodes.FlowNode
      extended byorg.globus.cog.karajan.workflow.nodes.FlowContainer
          extended byorg.globus.cog.karajan.workflow.nodes.Sequential
              extended byorg.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended byorg.globus.cog.karajan.workflow.nodes.SequentialWithArguments
                      extended byorg.globus.cog.karajan.workflow.nodes.ProjectNode
All Implemented Interfaces:
EventListener, ExtendedFlowElement, FlowElement, LoadListener, Runnable

public class ProjectNode
extends SequentialWithArguments
implements Runnable


Nested Class Summary
 
Nested classes inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
 boolean dumpState
           
static String THREAD_MANAGER
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
commonArguments, QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
INDEX
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
CALLER
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
debug, startCount, TEXT, threadTracker
 
Constructor Summary
ProjectNode()
           
 
Method Summary
 void addEventListener(EventListener listener)
           
 boolean done()
           
 void fireNotificationEvent(FlowEvent event, VariableStack stack)
          Notification events notify callers of the status of the execution (completed, failed, aborted, ...)
 String getBasedir()
           
 boolean getDumpState()
           
protected  Throwable getInitialCause(Throwable t)
           
 String getProject()
           
 ProjectNode getProjectNode()
           
 KarajanProperties getProperties()
           
 StateManager getStateManager()
           
 UIDMap getUidMap()
           
 boolean isMonitoringEnabled()
           
static void main(String[] argv)
           
protected  void monitoringEvent(MonitoringEvent e)
           
protected  void notificationEvent(NotificationEvent e)
           
 void post(VariableStack stack)
           
 void removeEventListener(EventListener listener)
           
 File resolveFile(File f)
           
 void run()
           
 void setBasedir(String string)
           
 void setDumpState(boolean dumpState)
           
 void setMonitoringEnabled(boolean monitoringEnabled)
           
 void setProject(String project)
           
 void start()
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.SequentialWithArguments
executeChildren
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
argumentsEvaluated, checkArguments, getArgument, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getMaxArgIndex, getNonpropargs, getPropargs, getQuotedArgs, getSortedArgs, getVargs, getVargsAsArray, hasArgument, hasNestedArguments, hasVariableArguments, initializeArgs, initializeStatic, newNameBindingVariableArguments, newVariableArguments, pre, processArguments, setArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeSingle, exit, moreToExecute, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
addChannel, execute, isOptimizable, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
abort, acceptsInlineText, addElement, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, end, event, executeErrorHandler, executeSimple, expandProperty, expandProperty, expandPropertyAsString, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getCanonicalType, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProperty, getStringProperty, getTreeProperty, getVar, hasFrame, hashCode, hasProperty, isCheckpointable, isSimple, isSystemProperty, loadComplete, loadStarted, propertyNames, removeProperty, restart, restartElement, ret, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElementType, setFrame, setParent, setProperty, setProperty, setProperty, start, startElement, startElement, toString, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dumpState

public boolean dumpState

THREAD_MANAGER

public static final String THREAD_MANAGER
See Also:
Constant Field Values
Constructor Detail

ProjectNode

public ProjectNode()
Method Detail

setProject

public void setProject(String project)

getProperties

public KarajanProperties getProperties()

getProject

public String getProject()

start

public void start()

run

public void run()
Specified by:
run in interface Runnable

monitoringEvent

protected void monitoringEvent(MonitoringEvent e)
Overrides:
monitoringEvent in class FlowNode

notificationEvent

protected void notificationEvent(NotificationEvent e)
                          throws ExecutionException
Overrides:
notificationEvent in class AbstractSequentialWithArguments
Throws:
ExecutionException

fireNotificationEvent

public void fireNotificationEvent(FlowEvent event,
                                  VariableStack stack)
Description copied from class: FlowNode
Notification events notify callers of the status of the execution (completed, failed, aborted, ...)

Overrides:
fireNotificationEvent in class FlowNode

getInitialCause

protected Throwable getInitialCause(Throwable t)

post

public void post(VariableStack stack)
          throws ExecutionException
Overrides:
post in class FlowContainer
Throws:
ExecutionException

done

public boolean done()

main

public static void main(String[] argv)

getBasedir

public String getBasedir()

setBasedir

public void setBasedir(String string)

getUidMap

public UIDMap getUidMap()

getProjectNode

public ProjectNode getProjectNode()
Specified by:
getProjectNode in interface FlowElement
Overrides:
getProjectNode in class FlowNode

getStateManager

public StateManager getStateManager()

resolveFile

public File resolveFile(File f)

isMonitoringEnabled

public boolean isMonitoringEnabled()

setMonitoringEnabled

public void setMonitoringEnabled(boolean monitoringEnabled)

addEventListener

public void addEventListener(EventListener listener)

removeEventListener

public void removeEventListener(EventListener listener)

getDumpState

public boolean getDumpState()

setDumpState

public void setDumpState(boolean dumpState)