Module org.cryptomator.cryptofs
Enum Class MigrationProgressListener.ProgressState
java.lang.Object
java.lang.Enum<MigrationProgressListener.ProgressState>
org.cryptomator.cryptofs.migration.api.MigrationProgressListener.ProgressState
- All Implemented Interfaces:
Serializable,Comparable<MigrationProgressListener.ProgressState>,Constable
- Enclosing interface:
- MigrationProgressListener
public static enum MigrationProgressListener.ProgressState
extends Enum<MigrationProgressListener.ProgressState>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCleanup after success or failure is running.Migration recently started.Migration is running and progress can be calculated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIALIZING
Migration recently started. The progress can't be calculated yet. -
MIGRATING
Migration is running and progress can be calculated.Any long-running tasks should (if possible) happen in this state.
-
FINALIZING
Cleanup after success or failure is running. Remaining time is in unknown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-