|
||||||||||
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 |
getPassword()
|
String |
getStorageUrl()
|
Mode |
getToolMode()
|
String |
getUsername()
|
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 |
setDictionaries(List<String> dictionaries)
|
void |
setFunction(String functionValue)
|
void |
setIncludePaths(List<String> paths)
|
void |
setKeystorePass(String keypass)
|
void |
setPassword(String passwd)
|
void |
setReportFile(File file)
|
void |
setSeverity(int value)
|
void |
setStorageUrl(String storageUrl)
|
void |
setTargets(List<Target> targets)
|
void |
setToolMode(Mode mode)
|
void |
setTransportUrl(String transportUrl)
|
void |
setTraverse(boolean value)
|
void |
setUsername(String user)
|
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 void setUsername(String user)
public String getUsername()
public void setPassword(String passwd)
public String getPassword()
public void setStorageUrl(String storageUrl)
public String getStorageUrl()
public void setTransportUrl(String transportUrl)
public void setKeystorePass(String keypass)
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 |