org.edg.data.reptor.client
Class CommandCopyAndRegisterFile

java.lang.Object
  extended byorg.edg.data.util.CommandBase
      extended byorg.edg.data.reptor.client.CommandCopyAndRegisterFile
All Implemented Interfaces:
org.edg.data.util.Command

public class CommandCopyAndRegisterFile
extends org.edg.data.util.CommandBase

The implementation of the copyAndRegister functionality.

Version:
$Id: CommandCopyAndRegisterFile.java,v 1.28 2004/06/04 15:31:05 jamesc Exp $
Author:
Peter Kunszt, Heinz Stockinger

Field Summary
static java.lang.String SOURCE
           
 
Constructor Summary
CommandCopyAndRegisterFile(java.lang.String programName, java.lang.String commandName, java.lang.String[] commandOpts)
           
 
Method Summary
 boolean execute()
           
protected  void init()
           
 
Methods inherited from class org.edg.data.util.CommandBase
addArgument, addOption, description, getArgument, getBoolOption, getCommandLine, getCommandName, getConfigFile, getOptions, getStringOption, getVO, isSecure, isVerbose, printHelp, setOption, setVerbose, stripGuidPrefix, stripGuidPrefixes, stripLfnPrefix, stripLfnPrefixes, withGuidPrefix, withLfnPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE

public static final java.lang.String SOURCE
See Also:
Constant Field Values
Constructor Detail

CommandCopyAndRegisterFile

public CommandCopyAndRegisterFile(java.lang.String programName,
                                  java.lang.String commandName,
                                  java.lang.String[] commandOpts)
                           throws org.edg.data.util.CommandLineException
Method Detail

init

protected void init()

execute

public boolean execute()
                throws org.edg.data.util.DataException
Throws:
org.edg.data.util.DataException