public interface OptionsClassProvider
Modifier and Type | Field and Description |
---|---|
static OptionsClassProvider |
EMPTY |
Modifier and Type | Method and Description |
---|---|
<O extends OptionsBase> |
getOptions(java.lang.Class<O> optionsClass)
Returns the options instance for the given
optionsClass , that is,
the parsed options, or null if it is not among those available. |
static final OptionsClassProvider EMPTY
@Nullable <O extends OptionsBase> O getOptions(java.lang.Class<O> optionsClass)
optionsClass
, that is,
the parsed options, or null if it is not among those available.
The returned options should be treated by library code as immutable and a provider is permitted to return the same options instance multiple times.