Enum ProgressEvent
- java.lang.Object
-
- java.lang.Enum<ProgressEvent>
-
- org.projectnessie.versioned.transfer.ProgressEvent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProgressEvent>
public enum ProgressEvent extends java.lang.Enum<ProgressEvent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMIT_WRITTENEND_COMMITSEND_FINALIZEEND_METAEND_NAMED_REFERENCESEND_PREPAREFINALIZE_PROGRESSFINISHEDNAMED_REFERENCE_WRITTENSTART_COMMITSSTART_FINALIZESTART_METASTART_NAMED_REFERENCESSTART_PREPARESTARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProgressEventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProgressEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FINISHED
public static final ProgressEvent FINISHED
-
START_PREPARE
public static final ProgressEvent START_PREPARE
-
END_PREPARE
public static final ProgressEvent END_PREPARE
-
END_FINALIZE
public static final ProgressEvent END_FINALIZE
-
FINALIZE_PROGRESS
public static final ProgressEvent FINALIZE_PROGRESS
-
START_FINALIZE
public static final ProgressEvent START_FINALIZE
-
START_NAMED_REFERENCES
public static final ProgressEvent START_NAMED_REFERENCES
-
NAMED_REFERENCE_WRITTEN
public static final ProgressEvent NAMED_REFERENCE_WRITTEN
-
END_NAMED_REFERENCES
public static final ProgressEvent END_NAMED_REFERENCES
-
START_COMMITS
public static final ProgressEvent START_COMMITS
-
COMMIT_WRITTEN
public static final ProgressEvent COMMIT_WRITTEN
-
END_COMMITS
public static final ProgressEvent END_COMMITS
-
START_META
public static final ProgressEvent START_META
-
END_META
public static final ProgressEvent END_META
-
STARTED
public static final ProgressEvent STARTED
-
-
Method Detail
-
values
public static ProgressEvent[] 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 (ProgressEvent c : ProgressEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProgressEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-