public final class RegisterableData
extends java.lang.Object
Constructor and Description |
---|
RegisterableData(java.lang.Class<? extends StartupRegisterable> registerable)
Populate the object with your registerable, and BootPriority.MANUAL
|
RegisterableData(java.lang.Class<? extends StartupRegisterable> registerable,
BootPriority priority)
Populate the object with your registerable, and a custom boot priority
|
RegisterableData(Startup startup)
Retrieve registerable info from the Startup annotation (addons)
|
Modifier and Type | Method and Description |
---|---|
BootPriority |
getPriority() |
java.lang.Class<? extends StartupRegisterable> |
getRegisterable() |
public RegisterableData(java.lang.Class<? extends StartupRegisterable> registerable)
registerable
- StartupRegisterablepublic RegisterableData(java.lang.Class<? extends StartupRegisterable> registerable, BootPriority priority)
registerable
- StartupRegisterablepriority
- BootPrioritypublic RegisterableData(Startup startup)
startup
- Startup annotationpublic java.lang.Class<? extends StartupRegisterable> getRegisterable()
public BootPriority getPriority()