DBVIEW
|
Public Member Functions | |
OptionContainer | getOptionsContainer () |
ArrayList< CliParameter > | getOptions () |
Element | getConf (String[] in_vargs, Boolean in_strict, Boolean in_set_default) throws CliException |
Protected Member Functions | |
ArrayList< Element > | _getConf_ (String[] in_vargs, Boolean in_strict, Boolean in_set_default) throws CliException |
Private Attributes | |
CliOptions | __options = new CliOptions() |
This class is responsible for extracting values from the command line, for the MySql add-on.
ArrayList<Element> org.dbview.addons.input.mysql.Cli._getConf_ | ( | String[] | in_vargs, |
Boolean | in_strict, | ||
Boolean | in_set_default | ||
) | throws CliException [protected, virtual] |
This method returns the information extracted from the command line.
in_vargs | The command line arguments. |
in_strict | This parameter indicates whether the CLI parser should check the presence of mandatory options, or not.
|
in_set_default | This parameter indicates whether the method should set default values or not.
|
Implements org.dbview.adapter.AbstractCli.
Element org.dbview.adapter.AbstractCli.getConf | ( | String[] | in_vargs, |
Boolean | in_strict, | ||
Boolean | in_set_default | ||
) | throws CliException [inherited] |
This method returns an XML document that represents the command line.
in_vargs | The command line arguments. |
in_strict | This parameter indicates whether the CLI parser should check the presence of mandatory options, or not.
|
in_set_default | This parameter indicates whether the method should set default values or not.
|
<data><login>...</login><password>...</password></data>
Definition at line 82 of file AbstractCli.java.
ArrayList<CliParameter> org.dbview.addons.input.mysql.Cli.getOptions | ( | ) | [virtual] |
This method returns the description of the command line expected by this adaptor.
Implements org.dbview.adapter.AbstractCli.
OptionContainer org.dbview.addons.input.mysql.Cli.getOptionsContainer | ( | ) | [virtual] |
Return the command line options container.
Implements org.dbview.adapter.AbstractCli.
CliOptions org.dbview.addons.input.mysql.Cli.__options = new CliOptions() [private] |
This attribute represents the command line options' container used to parse the command line that applies to the add-on.
Definition at line 48 of file Cli.java.
Referenced by org.dbview.addons.input.mysql.Cli._getConf_(), and org.dbview.addons.input.mysql.Cli.getOptionsContainer().