private static class CLI.Option
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
abbr
Abbreviation for the option name.
|
(package private) java.lang.String |
about
Text describing the activity for the option.
|
Constructor and Description |
---|
Option(java.lang.String abbr)
Converts an input argument to the option for comparison with options in the
list.
|
Option(java.lang.String abbr,
java.lang.String about)
Creates an option to the option list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String abbr
java.lang.String about
public Option(java.lang.String abbr)
abbr
- input argument.public Option(java.lang.String abbr, java.lang.String about)
abbr
- option abbreviation.about
- option description.