Class InstallerOptionsSupport
java.lang.Object
ru.vyarus.dropwizard.guice.module.installer.option.InstallerOptionsSupport
- All Implemented Interfaces:
WithOptions
- Direct Known Subclasses:
AbstractJerseyInstaller,WebListenerInstaller,WebServletInstaller
Base class implementing options support for installers. May be used instead of directly implementing
WithOptions.- Since:
- 20.08.2016
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InstallerOptionsSupport
public InstallerOptionsSupport()
-
-
Method Details
-
setOptions
Description copied from interface:WithOptionsCalled before any installer method.- Specified by:
setOptionsin interfaceWithOptions- Parameters:
options- options accessor instance
-
option
- Type Parameters:
V- option value typeT- helper type to define option- Parameters:
option- option enum- Returns:
- assigned option value or default value
- See Also:
-