public static enum BackupInfo.BackupPhase extends Enum<BackupInfo.BackupPhase>
Enum Constant and Description |
---|
INCREMENTAL_COPY |
PREPARE_INCREMENTAL |
REQUEST |
SNAPSHOT |
SNAPSHOTCOPY |
STORE_MANIFEST |
Modifier and Type | Method and Description |
---|---|
static BackupInfo.BackupPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupInfo.BackupPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupInfo.BackupPhase REQUEST
public static final BackupInfo.BackupPhase SNAPSHOT
public static final BackupInfo.BackupPhase PREPARE_INCREMENTAL
public static final BackupInfo.BackupPhase SNAPSHOTCOPY
public static final BackupInfo.BackupPhase INCREMENTAL_COPY
public static final BackupInfo.BackupPhase STORE_MANIFEST
public static BackupInfo.BackupPhase[] values()
for (BackupInfo.BackupPhase c : BackupInfo.BackupPhase.values()) System.out.println(c);
public static BackupInfo.BackupPhase 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 nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.