Enum Class PackWriter.PackingPhase
java.lang.Object
java.lang.Enum<PackWriter.PackingPhase>
org.eclipse.jgit.internal.storage.pack.PackWriter.PackingPhase
- All Implemented Interfaces:
Serializable
,Comparable<PackWriter.PackingPhase>
,Constable
- Enclosing class:
- PackWriter
Possible states that a PackWriter can be in.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBuilding bitmaps phase.Compressing objects phase.Counting objects phase.Finding sources phase.Getting sizes phase.Writing objects phase. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PackWriter.PackingPhase
Returns the enum constant of this class with the specified name.static PackWriter.PackingPhase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COUNTING
Counting objects phase. -
GETTING_SIZES
Getting sizes phase. -
FINDING_SOURCES
Finding sources phase. -
COMPRESSING
Compressing objects phase. -
WRITING
Writing objects phase. -
BUILDING_BITMAPS
Building bitmaps phase.
-
-
Constructor Details
-
PackingPhase
private PackingPhase()
-
-
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
-