public interface Apo_TypedE<T> extends ApoBaseE, ApoBaseTyped<T>
A standard typed environment options.
| Modifier and Type | Method and Description |
|---|---|
T |
getEnvironmentValue()
Returns the environment value of the option if any set.
|
default ST |
getHelp()
Returns help information for the option.
|
default T |
getValue()
Returns the value of the option.
|
default boolean |
isSet()
Tests if the option is set.
|
getEnvironmentKey, inEnvironment, validategetDefaultValuegetDisplayName, getLongDescriptiongetDescriptionT getEnvironmentValue()
Returns the environment value of the option if any set.
default ST getHelp()
ApoBaseReturns help information for the option. The information contains all possible settings, except the long description. This might include CLI, property, environment, and other settings.
default T getValue()
Returns the value of the option. First the environment value is tested and if not null it is returned. Last the default value is returned.
getValue in interface ApoBaseTyped<T>default boolean isSet()
Tests if the option is set.
A typed option is set if it has a value that is not null.
isSet in interface ApoBaseisSet in interface ApoBaseTyped<T>Copyright © 2016–2017. All rights reserved.