gov.bnl.gums.admin
Class GenerateMap

java.lang.Object
  extended by gov.bnl.gums.command.AbstractCommand
      extended by gov.bnl.gums.admin.RemoteCommand
          extended by gov.bnl.gums.admin.GenerateMap
Direct Known Subclasses:
GenerateFqanMapFile, GenerateGrid3UserVoMap, GenerateGridMapfile, GenerateOsgUserVoMap, GenerateVoGridMapfile

public abstract class GenerateMap
extends RemoteCommand

Author:
Gabriele Carcassi, Jay Packard

Field Summary
 
Fields inherited from class gov.bnl.gums.command.AbstractCommand
command, commandName, description, failOnArguments, syntax
 
Constructor Summary
GenerateMap()
           
 
Method Summary
protected  org.apache.commons.cli.Options buildOptions()
           
protected  void execute(org.apache.commons.cli.CommandLine cmd)
           
protected abstract  java.lang.String generateMap(java.lang.String hostname, java.lang.String gumsUrl)
           
 
Methods inherited from class gov.bnl.gums.admin.RemoteCommand
getGums, getGums
 
Methods inherited from class gov.bnl.gums.command.AbstractCommand
execute, failForWrongParameters, getClientDN, isUsingProxy, main, parse, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateMap

public GenerateMap()
Method Detail

buildOptions

protected org.apache.commons.cli.Options buildOptions()
Specified by:
buildOptions in class AbstractCommand

execute

protected void execute(org.apache.commons.cli.CommandLine cmd)
                throws java.lang.Exception
Specified by:
execute in class AbstractCommand
Throws:
java.lang.Exception

generateMap

protected abstract java.lang.String generateMap(java.lang.String hostname,
                                                java.lang.String gumsUrl)
                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2008. All Rights Reserved.