public enum ArtifactState extends Enum<ArtifactState>
Enum Constant and Description |
---|
DELETED |
DEPRECATED |
DISABLED |
ENABLED |
Modifier and Type | Method and Description |
---|---|
static ArtifactState |
fromValue(String value) |
String |
toString() |
String |
value() |
static ArtifactState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactState ENABLED
public static final ArtifactState DISABLED
public static final ArtifactState DEPRECATED
public static final ArtifactState DELETED
public static ArtifactState[] values()
for (ArtifactState c : ArtifactState.values()) System.out.println(c);
public static ArtifactState 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 toString()
toString
in class Enum<ArtifactState>
public String value()
public static ArtifactState fromValue(String value)
Copyright © 2020 Red Hat. All rights reserved.