public enum ComponentTypeEnum extends Enum<ComponentTypeEnum>
Enum Constant and Description |
---|
PRODUCT |
RESOURCE |
RESOURCE_INSTANCE |
SERVICE |
SERVICE_INSTANCE |
Modifier and Type | Field and Description |
---|---|
static String |
PRODUCT_PARAM_NAME |
static String |
RESOURCE_PARAM_NAME |
static String |
SERVICE_PARAM_NAME |
Modifier and Type | Method and Description |
---|---|
static ComponentTypeEnum |
findByParamName(String paramName) |
static ComponentTypeEnum |
findByValue(String value) |
static String |
findParamByType(ComponentTypeEnum type) |
NodeTypeEnum |
getNodeType() |
String |
getValue() |
static ComponentTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentTypeEnum RESOURCE
public static final ComponentTypeEnum SERVICE
public static final ComponentTypeEnum RESOURCE_INSTANCE
public static final ComponentTypeEnum PRODUCT
public static final ComponentTypeEnum SERVICE_INSTANCE
public static final String RESOURCE_PARAM_NAME
public static final String SERVICE_PARAM_NAME
public static final String PRODUCT_PARAM_NAME
public static ComponentTypeEnum[] values()
for (ComponentTypeEnum c : ComponentTypeEnum.values()) System.out.println(c);
public static ComponentTypeEnum 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 nullpublic String getValue()
public NodeTypeEnum getNodeType()
public static ComponentTypeEnum findByValue(String value)
public static ComponentTypeEnum findByParamName(String paramName)
public static String findParamByType(ComponentTypeEnum type)
Copyright © 2017. All rights reserved.