Enum BackupPhase

    • 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 name
        NullPointerException - if the argument is null
      • value

        public String value()