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