org.globus.cog.gridshell.commands.taskcommands
Class Rename

java.lang.Object
  extended byorg.globus.cog.gridshell.commands.AbstractCommand
      extended byorg.globus.cog.gridshell.commands.AbstractShellCommand
          extended byorg.globus.cog.gridshell.commands.taskcommands.AbstractTaskCommand
              extended byorg.globus.cog.gridshell.commands.taskcommands.AbstractSrcDestinationCommand
                  extended byorg.globus.cog.gridshell.commands.taskcommands.Rename
All Implemented Interfaces:
Command, Comparable, EventListener, PropertyChangeListener, PropertyChangeNotifier, Runnable, StatusListener

public class Rename
extends AbstractSrcDestinationCommand


Field Summary
 
Fields inherited from class org.globus.cog.gridshell.commands.taskcommands.AbstractTaskCommand
bufferedResult
 
Fields inherited from class org.globus.cog.gridshell.commands.AbstractShellCommand
getopt
 
Fields inherited from class org.globus.cog.gridshell.commands.AbstractCommand
PROPERTY_STATUS_CODE
 
Constructor Summary
Rename()
           
 
Method Summary
 AbstractFileOperationTask createSrcDestinationTask(StartTask connection, String source, String destination)
          Creates the specific task for this command
 
Methods inherited from class org.globus.cog.gridshell.commands.taskcommands.AbstractSrcDestinationCommand
createGetOpt, execute, getTaskOutput
 
Methods inherited from class org.globus.cog.gridshell.commands.taskcommands.AbstractTaskCommand
addTask, appendResult, destroy, getConnection, getConnectionManager, getTask, getTaskGraph, propertyChange, setTask, statusChanged
 
Methods inherited from class org.globus.cog.gridshell.commands.AbstractShellCommand
createAbstractShellCommand, getCredentials, getGetOpt, getGridShell, getGsh, init, kill, resume, run, suspend, toString
 
Methods inherited from class org.globus.cog.gridshell.commands.AbstractCommand
addPropertyChangeListener, addPropertyChangeListener, arrayToMap, compareTo, getIdentity, getParent, getResult, getScope, getStatus, removePropertyChangeListener, setResult, setStatusCode, setStatusCompleted, setStatusFailed, setStatusFailed, unsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rename

public Rename()
Method Detail

createSrcDestinationTask

public AbstractFileOperationTask createSrcDestinationTask(StartTask connection,
                                                          String source,
                                                          String destination)
                                                   throws InvalidProviderException,
                                                          ProviderMethodException
Description copied from class: AbstractSrcDestinationCommand
Creates the specific task for this command

Specified by:
createSrcDestinationTask in class AbstractSrcDestinationCommand
Parameters:
connection -
source -
destination -
Returns:
Throws:
InvalidProviderException
ProviderMethodException