home *** CD-ROM | disk | FTP | other *** search
- package com.commerceone.util.cmdline;
-
- public class CmdLineApp$RegisteredOption {
- protected String option;
- protected String succExplain;
- protected String verbExplain;
- protected boolean isFlag;
- protected boolean shouldDisplay;
- // $FF: synthetic field
- final CmdLineApp this$0;
-
- String getSuccinctExplanation() {
- return this.succExplain;
- }
-
- boolean getIsBoolean() {
- return this.isFlag;
- }
-
- CmdLineApp$RegisteredOption(CmdLineApp this$0, String opt, String succinctExplain, String verboseExplain, boolean isBoolean, boolean shouldDisplay) {
- (this.this$0 = this$0).getClass();
- this.option = opt;
- this.succExplain = succinctExplain;
- this.verbExplain = verboseExplain;
- this.isFlag = isBoolean;
- this.shouldDisplay = shouldDisplay;
- }
-
- String getOption() {
- return this.option;
- }
-
- boolean getShouldDisplay() {
- return this.shouldDisplay;
- }
-
- public boolean equals(Object object) {
- return object instanceof CmdLineApp$RegisteredOption && this.option.equals(((CmdLineApp$RegisteredOption)object).getOption());
- }
-
- String getVerboseExplanation() {
- return this.verbExplain;
- }
- }
-