|
||||||||||
| 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.TCClient
public class TCClient
A common client to add, modify, delete, query any Transformation Catalog implementation.
| Field Summary | |
|---|---|
private int |
add
|
private Map |
argsmap
|
private int |
bulk
|
String |
classname
|
private int |
delete
|
private String |
file
|
private int |
islfn
|
private boolean |
isoldformat
|
private int |
ispfn
|
private int |
isprofile
|
private int |
isresource
|
private int |
issysinfo
|
private int |
istype
|
private boolean |
isxml
|
private String |
lfn
|
private String |
pfn
|
private String |
profile
|
private int |
query
|
private String |
resource
|
private String |
system
|
private TransformationCatalog |
tc
|
private String |
type
|
private Version |
version
|
| Fields inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
mLogger, mLogMsg, mProps, mVersion |
| Constructor Summary | |
|---|---|
TCClient()
|
|
| Method Summary | |
|---|---|
void |
executeCommand()
Call the correct commands depending on options. |
gnu.getopt.LongOpt[] |
generateValidOptions()
Generates an array of valid LongOpt objects which contain
all the valid options to the Executable. |
void |
initialize(String[] opts)
Initialize the executable object |
void |
loadProperties()
Loads all the properties that would be needed by the Toolkit classes. |
static void |
main(String[] args)
|
void |
printLongVersion()
This method is used to print the long version of the command. |
void |
printShortVersion()
This is used to print the short version of the command. |
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, log, lookupConfProperty, sanityCheckOnProperties, setupLogging |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String classname
private int add
private int query
private int delete
private int bulk
private int islfn
private int ispfn
private int isresource
private int isprofile
private int istype
private int issysinfo
private boolean isxml
private boolean isoldformat
private String lfn
private String pfn
private String profile
private String type
private String resource
private String system
private String file
private TransformationCatalog tc
private Map argsmap
private Version version
| Constructor Detail |
|---|
public TCClient()
| Method Detail |
|---|
public void initialize(String[] opts)
Executable
initialize in class Executableopts - the command line argument passed to the executablepublic void loadProperties()
Executable
loadProperties in class Executableprotected void setupLogging()
public gnu.getopt.LongOpt[] generateValidOptions()
ExecutableLongOpt objects which contain
all the valid options to the Executable.
generateValidOptions in class Executablepublic void executeCommand()
opts - String[] The arguments obtained from the command line.public void printShortVersion()
Executable
printShortVersion in class Executablepublic void printLongVersion()
Executable
printLongVersion in class Executable
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||