public enum MigrationMethod extends Enum<MigrationMethod>
Modifier and Type | Method and Description |
---|---|
static MigrationMethod |
forValue(int value) |
int |
getValue() |
static MigrationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationMethod OFFLINE
public static final MigrationMethod ONLINE
public static MigrationMethod[] values()
for (MigrationMethod c : MigrationMethod.values()) System.out.println(c);
public static MigrationMethod 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 int getValue()
public static MigrationMethod forValue(int value)
Copyright © 2012. All Rights Reserved.