public class CITool
extends java.lang.Object
Constructor and Description |
---|
CITool() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword() |
java.lang.String |
getStorageUrl() |
Mode |
getToolMode() |
java.lang.String |
getUsername() |
static void |
main(java.lang.String[] argv) |
org.apache.commons.cli.CommandLine |
parseLine(java.lang.String[] argv)
Parses the CITool command-line.
|
void |
processMain(java.lang.String[] args) |
void |
query(org.apache.commons.cli.CommandLine commandLine)
Query the CommandLine object to process the options that were selected.
|
void |
query(java.io.File configuration)
Query the configuration file.
|
void |
setAlias(boolean value) |
void |
setAllrefs(java.lang.String allrefs) |
void |
setDictionaries(java.util.List<java.lang.String> dictionaries) |
void |
setFunction(java.lang.String functionValue) |
void |
setIncludePaths(java.util.List<java.lang.String> paths) |
void |
setKeystorePass(java.lang.String keypass) |
void |
setPassword(java.lang.String passwd) |
void |
setReportFile(java.io.File file) |
void |
setSeverity(int value) |
void |
setStorageUrl(java.lang.String storageUrl) |
void |
setTargets(java.util.List<Target> targets) |
void |
setToolMode(Mode mode) |
void |
setTransportUrl(java.lang.String transportUrl) |
void |
setTraverse(boolean value) |
void |
setUsername(java.lang.String user) |
void |
showHelp()
Show the CITool usage.
|
void |
showVersion()
Show the version and disclaimer notice.
|
public org.apache.commons.cli.CommandLine parseLine(java.lang.String[] argv) throws java.lang.Exception
argv
- arguments given on the command-lineApplicationException
java.lang.Exception
public void query(org.apache.commons.cli.CommandLine commandLine) throws java.lang.Exception
commandLine
- The CommandLine objectjava.lang.Exception
public void query(java.io.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(java.util.List<Target> targets)
public void setIncludePaths(java.util.List<java.lang.String> paths) throws java.net.MalformedURLException
java.net.MalformedURLException
public void setAlias(boolean value)
public void setAllrefs(java.lang.String allrefs) throws java.net.MalformedURLException
java.net.MalformedURLException
public void setDictionaries(java.util.List<java.lang.String> dictionaries)
public void setReportFile(java.io.File file)
public void setSeverity(int value) throws InvalidOptionException
InvalidOptionException
public Mode getToolMode()
public void setToolMode(Mode mode)
public void setFunction(java.lang.String functionValue) throws InvalidOptionException
InvalidOptionException
public void setUsername(java.lang.String user)
public java.lang.String getUsername()
public void setPassword(java.lang.String passwd)
public java.lang.String getPassword()
public void setStorageUrl(java.lang.String storageUrl)
public java.lang.String getStorageUrl()
public void setTransportUrl(java.lang.String transportUrl)
public void setKeystorePass(java.lang.String keypass)
public void showVersion()
public void showHelp()
public void processMain(java.lang.String[] args)
public static void main(java.lang.String[] argv)
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.