public enum ControlType extends Enum<ControlType>
AddonLifecycleProvider instance will have over various Addon
dependencies in the Furnace container.| Enum Constant and Description |
|---|
ALL
Controls both the life-cycle of the
Addon, and the life-cycle of addons that depend on the Addon,
from which the AddonLifecycleProvider instance orginated. |
DEPENDENTS
Controls only the life-cycle of addons that depend on the
Addon from which the
AddonLifecycleProvider instance orginated. |
SELF
Controls only the life-cycle of the
Addon from which the AddonLifecycleProvider instance
originated. |
| Modifier and Type | Method and Description |
|---|---|
static ControlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlType SELF
Addon from which the AddonLifecycleProvider instance
originated.public static final ControlType DEPENDENTS
Addon from which the
AddonLifecycleProvider instance orginated.public static final ControlType ALL
Addon, and the life-cycle of addons that depend on the Addon,
from which the AddonLifecycleProvider instance orginated.public static ControlType[] values()
for (ControlType c : ControlType.values()) System.out.println(c);
public static ControlType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014 JBoss by Red Hat. All rights reserved.