org.globus.cog.gridshell.tasks
Class PutfileTask
java.lang.Object
org.globus.cog.abstraction.impl.common.task.TaskImpl
org.globus.cog.gridshell.tasks.AbstractTask
org.globus.cog.gridshell.tasks.AbstractFileTask
org.globus.cog.gridshell.tasks.AbstractFileOperationTask
org.globus.cog.gridshell.tasks.PutfileTask
- All Implemented Interfaces:
- ExecutableObject, Task
- public class PutfileTask
- extends AbstractFileOperationTask
A task that puts a file on a remote machine
| 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 |
PutfileTask
public PutfileTask(StartTask connection,
String sourceFile,
String destinationFile)
throws InvalidProviderException,
ProviderMethodException
- Create a task that puts a file on a remote machine
- Parameters:
connection - sourceFile - - the file on the local machine to senddestinationFile - - the location to place the file remotely
- Throws:
InvalidProviderException
ProviderMethodException
getOperation
public String getOperation()
- Specified by:
getOperation in class AbstractFileTask