public enum ProductState extends Enum<ProductState>
| Enum Constant and Description |
|---|
EXPERIMENTAL |
STABLE |
UNSTABLE |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcronym() |
static ProductState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductState EXPERIMENTAL
public static final ProductState UNSTABLE
public static final ProductState STABLE
public static ProductState[] values()
for (ProductState c : ProductState.values()) System.out.println(c);
public static ProductState 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 getAcronym()
Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.