Package org.ovirt.engine.sdk4.types
Enum BackupPhase
- java.lang.Object
-
- java.lang.Enum<BackupPhase>
-
- org.ovirt.engine.sdk4.types.BackupPhase
-
- All Implemented Interfaces:
Serializable
,Comparable<BackupPhase>
public enum BackupPhase extends Enum<BackupPhase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
The final phase, indicates that the backup has failed.FINALIZING
In this phase, the backup is invoking 'stop_backup' operation in order to complete the backup and unlock the relevant disk.INITIALIZING
The initial phase of the backup.READY
The phase means that the relevant disks' backup URLs are ready to be used and downloaded using image transfer.STARTING
The phase is set before invoking 'start_backup' operation in vdsm/libvirt (which means that 'stop_backup' should be invoked to complete the flow).SUCCEEDED
The final phase, indicates that the backup has finished successfully.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackupPhase
fromValue(String value)
String
value()
static BackupPhase
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackupPhase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILED
public static final BackupPhase FAILED
The final phase, indicates that the backup has failed.
-
FINALIZING
public static final BackupPhase FINALIZING
In this phase, the backup is invoking 'stop_backup' operation in order to complete the backup and unlock the relevant disk.
-
INITIALIZING
public static final BackupPhase INITIALIZING
The initial phase of the backup. It is set on entity creation.
-
READY
public static final BackupPhase READY
The phase means that the relevant disks' backup URLs are ready to be used and downloaded using image transfer.
-
STARTING
public static final BackupPhase STARTING
The phase is set before invoking 'start_backup' operation in vdsm/libvirt (which means that 'stop_backup' should be invoked to complete the flow).
-
SUCCEEDED
public static final BackupPhase SUCCEEDED
The final phase, indicates that the backup has finished successfully.
-
-
Method Detail
-
values
public static BackupPhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BackupPhase c : BackupPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BackupPhase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static BackupPhase fromValue(String value)
-
-