public static enum MigrationService.MigrationStatus extends Enum<MigrationService.MigrationStatus>
Enum Constant and Description |
---|
DB_MIGRATED
database migrated
|
DB_NOT_AVAILABLE
database not available
|
DB_SUPPORTED
database supported
|
ERROR
error
|
NO_DB_SUPPORTED
no database supported
|
Modifier and Type | Method and Description |
---|---|
boolean |
isErroneous()
Checks whether this
MigrationService.MigrationStatus is in an erroneous state. |
static MigrationService.MigrationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationService.MigrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationService.MigrationStatus NO_DB_SUPPORTED
public static final MigrationService.MigrationStatus DB_SUPPORTED
public static final MigrationService.MigrationStatus DB_NOT_AVAILABLE
public static final MigrationService.MigrationStatus DB_MIGRATED
public static final MigrationService.MigrationStatus ERROR
public static MigrationService.MigrationStatus[] values()
for (MigrationService.MigrationStatus c : MigrationService.MigrationStatus.values()) System.out.println(c);
public static MigrationService.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 boolean isErroneous()
MigrationService.MigrationStatus
is in an erroneous state.true
if this MigrationService.MigrationStatus
is one of ERROR
or
DB_NOT_AVAILABLE
, false
otherwiseCopyright © 2011–2020 aiticon GmbH. All rights reserved.