public interface ApoBase extends CategoryIs, HasDescription
Base for an application option.
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns the display name of the option.
|
default ST |
getHelp()
Returns help information for the option.
|
Object |
getLongDescription()
Returns a long description of the option.
|
boolean |
isSet()
Tests if the option is set.
|
default void |
validate()
Validates the option.
|
getDescriptiondefault ST getHelp()
Returns help information for the option. The information contains all possible settings, except the long description. This might include CLI, property, environment, and other settings.
Object getLongDescription()
Returns a long description of the option. For more complex options, the description should include use case and other information.
boolean isSet()
Tests if the option is set.
default void validate()
throws IllegalStateException
Validates the option.
IllegalStateException - for any validation errorString getDisplayName()
Returns the display name of the option.
Copyright © 2016–2017. All rights reserved.