|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.client.Executable
edu.isi.pegasus.planner.client.PegasusGetSites
public class PegasusGetSites
The client that replaces the perl based pegasus-get-sites. It generates a Site Catalog by querying VORS.
| Field Summary | |
|---|---|
private SiteCatalog |
mCatalog
|
private String |
mGrid
|
private String |
mPropertiesFilename
|
private String |
mSCFile
|
private String |
mSource
The default source to query for generating a site catalog. |
private String |
mVO
|
| Fields inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
mLogger, mLogMsg, mProps, mVersion |
| Constructor Summary | |
|---|---|
PegasusGetSites()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
executeCommand()
Executes the command on the basis of the command line options passed. |
gnu.getopt.LongOpt[] |
generateValidOptions()
Generates valid LongOpts. |
protected String |
getPropertyKey(String source,
String key)
Returns the full name of the property key with the appropriate prefix |
void |
intialize(String[] opts)
Initialize the PegasusGetSites object |
void |
loadProperties()
An empty implementation. |
static void |
main(String[] args)
The main program |
void |
parseCommandLineArguments(String[] args)
Parses the command line arguments using GetOpt and sets the class member variables. |
void |
printLongVersion()
Prints out the long help. |
void |
printShortVersion()
The short help version. |
protected void |
setupLogging()
Sets up the logging options for this class. |
| Methods inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String mVO
private String mGrid
private String mSource
private SiteCatalog mCatalog
private String mSCFile
private String mPropertiesFilename
| Constructor Detail |
|---|
public PegasusGetSites()
| Method Detail |
|---|
public void intialize(String[] opts)
opts - the command line argument passed to the PegasusGetSitespublic static void main(String[] args)
args - public void loadProperties()
loadProperties in class Executablepublic void printLongVersion()
printLongVersion in class Executablepublic void printShortVersion()
printShortVersion in class Executablepublic void executeCommand()
args -
protected String getPropertyKey(String source,
String key)
source - the source i.e type of site catalogkey - the basename of the key
protected void setupLogging()
public void parseCommandLineArguments(String[] args)
args - the arguments passed by the user at command line.public gnu.getopt.LongOpt[] generateValidOptions()
generateValidOptions in class Executable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||