public static enum SyncOptions.SchemaUpgradePolicy extends Enum<SyncOptions.SchemaUpgradePolicy>
| Enum Constant and Description |
|---|
ABORT |
UPGRADE |
UPLOAD_AND_ABORT |
UPLOAD_AND_UPGRADE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SyncOptions.SchemaUpgradePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncOptions.SchemaUpgradePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncOptions.SchemaUpgradePolicy ABORT
public static final SyncOptions.SchemaUpgradePolicy UPLOAD_AND_ABORT
public static final SyncOptions.SchemaUpgradePolicy UPGRADE
public static final SyncOptions.SchemaUpgradePolicy UPLOAD_AND_UPGRADE
public static SyncOptions.SchemaUpgradePolicy[] values()
for (SyncOptions.SchemaUpgradePolicy c : SyncOptions.SchemaUpgradePolicy.values()) System.out.println(c);
public static SyncOptions.SchemaUpgradePolicy 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()