edu.isi.pegasus.planner.client
public class PegasusGetSites extends Executable
Modifier and Type | Field and Description |
---|---|
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 |
mLogger, mLogMsg, mProps, mVersion
Constructor and Description |
---|
PegasusGetSites()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging
private String mVO
private String mGrid
private String mSource
private SiteCatalog mCatalog
private String mSCFile
private String mPropertiesFilename
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 Executable
public void printLongVersion()
printLongVersion
in class Executable
public void printShortVersion()
printShortVersion
in class Executable
public void executeCommand()
args
- protected String getPropertyKey(String source, String key)
source
- the source i.e type of site catalogkey
- the basename of the keyprotected 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