public enum ComponentType extends java.lang.Enum<ComponentType>
ComponentTemplateDTO.type
.Enum Constant and Description |
---|
CONTAINER
The component is the Container Component.
|
FACTORY
The component is an Factory Component.
|
SINGLE
The component is an Single Component.
|
Modifier and Type | Method and Description |
---|---|
static ComponentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentType CONTAINER
public static final ComponentType SINGLE
public static final ComponentType FACTORY
public static ComponentType[] values()
for (ComponentType c : ComponentType.values()) System.out.println(c);
public static ComponentType 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 nullCopyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0