public enum ConfigItem extends java.lang.Enum<ConfigItem>
| Enum Constant and Description |
|---|
Bundle
GuiceyBundle or
ConfiguredBundle
Note that guicey bundle installs other items and all of them are tracked too. |
Command
Dropwizard command.
|
DropwizardBundle
ConfiguredBundle. |
Extension
Extension (everything that is installed by installers (like resource, health check etc).
|
Installer
Installer.
|
Module
Guice module.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInstanceConfig() |
<T extends ItemInfoImpl> |
newContainer(java.lang.Object item)
Creates info container for configuration item.
|
static ConfigItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigItem Installer
public static final ConfigItem Extension
public static final ConfigItem DropwizardBundle
ConfiguredBundle. Only bundles registered through guicey api are tracked.public static final ConfigItem Bundle
GuiceyBundle or
ConfiguredBundle
Note that guicey bundle installs other items and all of them are tracked too.public static final ConfigItem Module
public static final ConfigItem Command
public static ConfigItem[] values()
for (ConfigItem c : ConfigItem.values()) System.out.println(c);
public static ConfigItem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isInstanceConfig()
public <T extends ItemInfoImpl> T newContainer(java.lang.Object item)
T - type of required info containeritem - item instance or item class (for class based configurations)