public enum StabilityLevel extends Enum<StabilityLevel>
| Enum Constant and Description |
|---|
DEPRECATED |
EXPERIMENTAL |
FROZEN |
LOCKED |
STABLE |
UNSTABLE |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_STABILITY_INDEX |
protected static String |
FRACTION_STABILITY_PROPERTY_NAME |
| Modifier and Type | Method and Description |
|---|---|
static StabilityLevel |
of(org.apache.maven.project.MavenProject project) |
static StabilityLevel |
parse(String level) |
static StabilityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StabilityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StabilityLevel DEPRECATED
public static final StabilityLevel EXPERIMENTAL
public static final StabilityLevel UNSTABLE
public static final StabilityLevel STABLE
public static final StabilityLevel FROZEN
public static final StabilityLevel LOCKED
protected static final String DEFAULT_STABILITY_INDEX
protected static final String FRACTION_STABILITY_PROPERTY_NAME
public static StabilityLevel[] values()
for (StabilityLevel c : StabilityLevel.values()) System.out.println(c);
public static StabilityLevel 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 StabilityLevel parse(String level)
public static StabilityLevel of(org.apache.maven.project.MavenProject project)
Copyright © 2017 JBoss by Red Hat. All rights reserved.