public class CITool extends Object
Constructor and Description |
---|
CITool() |
Modifier and Type | Method and Description |
---|---|
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.
|
public org.apache.commons.cli.CommandLine parseLine(String[] argv) throws Exception
argv
- arguments given on the command-lineApplicationException
Exception
public void query(org.apache.commons.cli.CommandLine commandLine) throws Exception
commandLine
- The CommandLine objectException
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 setIncludePaths(List<String> paths) throws MalformedURLException
MalformedURLException
public void setAlias(boolean value)
public void setAllrefs(String allrefs) throws MalformedURLException
MalformedURLException
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)
Copyright © 2010–2016 Planetary Data System. All rights reserved.