org.globus.cog.gridshell.tasks
Class LsTask
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.LsTask
- All Implemented Interfaces:
- ExecutableObject, Task
- public class LsTask
- extends AbstractFileOperationTask
Creates a task that list the contents of a directory
| 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 |
LsTask
public LsTask(StartTask connection)
throws InvalidProviderException,
ProviderMethodException
- A task that lists the current directory
- Parameters:
connection -
- Throws:
InvalidProviderException
ProviderMethodException
LsTask
public LsTask(StartTask connection,
String dir)
throws InvalidProviderException,
ProviderMethodException
- Creates a task to list a directories contents
- Parameters:
connection - dir -
- Throws:
InvalidProviderException
ProviderMethodException
getOperation
public String getOperation()
- Specified by:
getOperation in class AbstractFileTask