public static enum MigrationInfo.MigrationStatus extends Enum<MigrationInfo.MigrationStatus>
Modifier and Type | Method and Description |
---|---|
static MigrationInfo.MigrationStatus |
readFrom(DataInput in) |
static MigrationInfo.MigrationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationInfo.MigrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(MigrationInfo.MigrationStatus type,
DataOutput out) |
public static final MigrationInfo.MigrationStatus ACTIVE
public static final MigrationInfo.MigrationStatus INVALID
public static final MigrationInfo.MigrationStatus SUCCESS
public static final MigrationInfo.MigrationStatus FAILED
public static MigrationInfo.MigrationStatus[] values()
for (MigrationInfo.MigrationStatus c : MigrationInfo.MigrationStatus.values()) System.out.println(c);
public static MigrationInfo.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 static void writeTo(MigrationInfo.MigrationStatus type, DataOutput out) throws IOException
IOException
public static MigrationInfo.MigrationStatus readFrom(DataInput in) throws IOException
IOException
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.