public class TCClient extends Executable
Modifier and Type | Field and Description |
---|---|
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 |
mLogger, mLogMsg, mProps, mVersion
Constructor and Description |
---|
TCClient() |
Modifier and Type | Method and Description |
---|---|
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.
|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging
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
public void initialize(String[] opts)
Executable
initialize
in class Executable
opts
- the command line argument passed to the executablepublic void loadProperties()
Executable
loadProperties
in class Executable
protected void setupLogging()
public gnu.getopt.LongOpt[] generateValidOptions()
Executable
LongOpt
objects which contain
all the valid options to the Executable.generateValidOptions
in class Executable
public void executeCommand()
opts
- String[] The arguments obtained from the command line.public void printShortVersion()
Executable
printShortVersion
in class Executable
public void printLongVersion()
Executable
printLongVersion
in class Executable
Copyright © 2011 The University of Southern California. All Rights Reserved.