public enum AssetTypeEnum extends Enum<AssetTypeEnum>
Modifier and Type | Method and Description |
---|---|
static ComponentTypeEnum |
convertToComponentTypeEnum(String assetType) |
String |
getCorrespondingComponent() |
String |
getValue() |
static AssetTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetTypeEnum RESOURCES
public static final AssetTypeEnum SERVICES
public static final AssetTypeEnum PRODUCTS
public static AssetTypeEnum[] values()
for (AssetTypeEnum c : AssetTypeEnum.values()) System.out.println(c);
public static AssetTypeEnum 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 String getCorrespondingComponent()
public static ComponentTypeEnum convertToComponentTypeEnum(String assetType)
Copyright © 2017. All rights reserved.