public static enum ComponentContainer.Scope extends Enum<ComponentContainer.Scope>
Enum Constant and Description |
---|
INTERNAL
Components with this scope are not published as OSGi services.
|
PROVIDED
Components with this scope are published as OSGi services that plugins can import.
|
Modifier and Type | Method and Description |
---|---|
static ComponentContainer.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentContainer.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentContainer.Scope PROVIDED
public static final ComponentContainer.Scope INTERNAL
public static ComponentContainer.Scope[] values()
for (ComponentContainer.Scope c : ComponentContainer.Scope.values()) System.out.println(c);
public static ComponentContainer.Scope 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 © 2002-2019 Atlassian. All Rights Reserved.