org.globus.cog.gridshell.tasks
Class AbstractFileTask
java.lang.Object
org.globus.cog.abstraction.impl.common.task.TaskImpl
org.globus.cog.gridshell.tasks.AbstractTask
org.globus.cog.gridshell.tasks.AbstractFileTask
- All Implemented Interfaces:
- ExecutableObject, Task
- Direct Known Subclasses:
- AbstractFileOperationTask, StartTask
- public abstract class AbstractFileTask
- extends AbstractTask
This class is any sort of file operation
| Methods inherited from class org.globus.cog.abstraction.impl.common.task.TaskImpl |
addOutputListener, addService, addStatusListener, equals, getAllAttributes, getAllServices, getAttribute, getCompletedTime, getIdentity, getName, getObjectType, getRequiredServices, getService, getSpecification, getStatus, getStdError, getStdOutput, getSubmittedTime, getType, hashCode, isActive, isCanceled, isCompleted, isFailed, isSuspended, isUnsubmitted, removeAllServices, removeOutputListener, removeService, removeService, removeStatusListener, setAttribute, setIdentity, setName, setProvider, setRequiredService, setService, setSpecification, setStatus, setStatus, setStdError, setStdOutput, setType, toString, toXML |
AbstractFileTask
public AbstractFileTask(String[] arguments)
throws InvalidProviderException,
ProviderMethodException
AbstractFileTask
public AbstractFileTask(String taskName,
String[] arguments)
throws InvalidProviderException,
ProviderMethodException
getOperation
public abstract String getOperation()
getSessionId
public abstract Identity getSessionId()
getPort
public abstract int getPort()
createTaskHandler
public TaskHandler createTaskHandler()
throws InvalidProviderException,
ProviderMethodException
- Throws:
InvalidProviderException
ProviderMethodException
getArguments
public String[] getArguments()
setArguments
public void setArguments(String[] arguments)
initTask
public void initTask()
throws InvalidProviderException,
ProviderMethodException
- Overrides:
initTask in class AbstractTask
- Throws:
InvalidProviderException
ProviderMethodException
getResult
public Object getResult()
- Specified by:
getResult in class AbstractTask