|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.citool.CITool
public class CITool
Front end class for the Catalog Ingestion Tool.
Constructor Summary | |
---|---|
CITool()
|
Method Summary | |
---|---|
String |
getDBName()
|
String |
getDBPass()
|
String |
getDBServer()
|
String |
getDBUser()
|
Mode |
getToolMode()
|
static void |
main(String[] argv)
|
org.apache.commons.cli.CommandLine |
parseLine(String[] argv)
Parses the CITool command-line. |
void |
processMain(String[] args)
|
void |
query(org.apache.commons.cli.CommandLine commandLine)
Query the CommandLine object to process the options that were selected. |
void |
query(File configuration)
Query the configuration file. |
void |
setAlias(boolean value)
|
void |
setAllrefs(String allrefs)
|
void |
setDBName(String dbname)
|
void |
setDBPass(String passwd)
|
void |
setDBServer(String server)
|
void |
setDBUser(String user)
|
void |
setDictionaries(List<String> dictionaries)
|
void |
setFunction(String functionValue)
|
void |
setIncludePaths(List<String> paths)
|
void |
setReportFile(File file)
|
void |
setSeverity(int value)
|
void |
setTargets(List<Target> targets)
|
void |
setToolMode(Mode mode)
|
void |
setTraverse(boolean value)
|
void |
showHelp()
Show the CITool usage. |
void |
showVersion()
Show the version and disclaimer notice. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CITool()
Method Detail |
---|
public org.apache.commons.cli.CommandLine parseLine(String[] argv) throws Exception
argv
- arguments given on the command-line
ApplicationException
Exception
public void query(org.apache.commons.cli.CommandLine commandLine) throws Exception
commandLine
- The CommandLine object
Exception
public void query(File configuration) throws org.apache.commons.configuration.ConfigurationException
configuration
- A configuration file.
org.apache.commons.configuration.ConfigurationException
public void setTraverse(boolean value)
public void setTargets(List<Target> targets)
public void setIncludePaths(List<String> paths) throws MalformedURLException
MalformedURLException
public void setAlias(boolean value)
public void setAllrefs(String allrefs) throws MalformedURLException
MalformedURLException
public void setDictionaries(List<String> dictionaries)
public void setReportFile(File file)
public void setSeverity(int value) throws InvalidOptionException
InvalidOptionException
public Mode getToolMode()
public void setToolMode(Mode mode)
public void setFunction(String functionValue) throws InvalidOptionException
InvalidOptionException
public String getDBUser()
public void setDBUser(String user)
public String getDBPass()
public void setDBPass(String passwd)
public String getDBName()
public void setDBName(String dbname)
public String getDBServer()
public void setDBServer(String server)
public void showVersion()
public void showHelp()
public void processMain(String[] args)
public static void main(String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |