org.globus.cog.karajan.workflow.nodes.grid
Class AbstractFileOperation

java.lang.Object
  extended by org.globus.cog.karajan.workflow.nodes.FlowNode
      extended by org.globus.cog.karajan.workflow.nodes.FlowContainer
          extended by org.globus.cog.karajan.workflow.nodes.Sequential
              extended by org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended by org.globus.cog.karajan.workflow.nodes.SequentialWithArguments
                      extended by org.globus.cog.karajan.workflow.nodes.grid.AbstractGridNode
                          extended by org.globus.cog.karajan.workflow.nodes.grid.AbstractFileOperation
All Implemented Interfaces:
StatusListener, LoadListener, EventListener, ExtendedFlowElement, FlowElement
Direct Known Subclasses:
Chmod, FileExists, FileList, FileRemove, FileSize, IsDirectory, MakeDir, Rename, Rmdir

public abstract class AbstractFileOperation
extends AbstractGridNode


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static org.apache.log4j.Logger logger
           
static Arg OA_HOST
           
static Arg OA_PROVIDER
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.grid.AbstractGridNode
A_SECURITY_CONTEXT, HANDLER, tasks
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
A_INLINE_TEXT, debug, startCount, STDERR, STDOUT, threadTracker
 
Fields inherited from interface org.globus.cog.karajan.workflow.nodes.FlowElement
ANNOTATION, CALLER, FILENAME, LINE, TEXT, UID
 
Constructor Summary
AbstractFileOperation()
           
 
Method Summary
protected abstract  String[] getArguments(VariableStack stack)
           
protected abstract  String getOperation(VariableStack stack)
           
protected  Service getService(BoundContact contact, String provider)
           
 void submitTask(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.grid.AbstractGridNode
abortEvent, fireNotificationEvent, getHost, getScheduler, getSecurityContext, post, removeTask, setSecurityContext, setSecurityContextIfNotLocal, statusChanged, submitScheduled, submitUnscheduled, taskCompleted, taskFailed
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, childCompleted, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getChannels, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasChannels, hasNestedArguments, hasVariableArguments, initializeArgs, initializeStatic, newNameBindingVariableArguments, newVariableArguments, pre, processArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeChildren, executeSingle, exit, getIndex, moreToExecute, notificationEvent, preDecIndex, preIncIndex, setIndex, startElement, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
execute, getChildFailed, isOptimizable, setChildFailed, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
_finally, abort, acceptsInlineText, addElement, addStaticArgument, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, event, executeErrorHandler, executeSimple, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getCanonicalType, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProperty, getStaticArguments, getStringProperty, getTextualName, getTreeProperty, getUID, hasFrame, hasProperty, isCheckpointable, isSimple, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeElement, removeElement, removeProperty, replaceElement, restart, restartElement, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElements, setElementType, setFrame, setParent, setProperties, setProperty, setProperty, setProperty, setStaticArguments, start, startElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public static final org.apache.log4j.Logger logger

OA_PROVIDER

public static final Arg OA_PROVIDER

OA_HOST

public static final Arg OA_HOST
Constructor Detail

AbstractFileOperation

public AbstractFileOperation()
Method Detail

submitTask

public void submitTask(VariableStack stack)
                throws ExecutionException
Specified by:
submitTask in class AbstractGridNode
Throws:
ExecutionException

getOperation

protected abstract String getOperation(VariableStack stack)
                                throws ExecutionException
Throws:
ExecutionException

getArguments

protected abstract String[] getArguments(VariableStack stack)
                                  throws ExecutionException
Throws:
ExecutionException

getService

protected Service getService(BoundContact contact,
                             String provider)
                      throws ExecutionException
Throws:
ExecutionException