public enum ArtifactCategory extends Enum<ArtifactCategory>
Enum Constant and Description |
---|
DEPLOYMENT |
INFORMATIONAL |
Modifier and Type | Method and Description |
---|---|
static ArtifactCategory |
getArtifactTypeByDisplayName(String displayName)
Gets artifact type by display name.
|
String |
getDisplayName()
Gets display name.
|
static Map<String,ArtifactCategory> |
initializeMapping()
Initialize mapping map.
|
static ArtifactCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactCategory INFORMATIONAL
public static final ArtifactCategory DEPLOYMENT
public static ArtifactCategory[] values()
for (ArtifactCategory c : ArtifactCategory.values()) System.out.println(c);
public static ArtifactCategory 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 static Map<String,ArtifactCategory> initializeMapping()
public static ArtifactCategory getArtifactTypeByDisplayName(String displayName)
displayName
- the display namepublic String getDisplayName()
Copyright © 2017. All rights reserved.