public enum PackageState extends Enum<PackageState>
Enum Constant and Description |
---|
ACTIVE
Enum value Active.
|
PENDING
Enum value Pending.
|
UNMAPPED
Enum value Unmapped.
|
Modifier and Type | Method and Description |
---|---|
static PackageState |
fromString(String value)
Parses a serialized value to a PackageState instance.
|
String |
toString() |
static PackageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageState PENDING
public static final PackageState ACTIVE
public static final PackageState UNMAPPED
public static PackageState[] values()
for (PackageState c : PackageState.values()) System.out.println(c);
public static PackageState 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 PackageState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<PackageState>
Copyright © 2019. All rights reserved.