Package org.eclipse.jgit.submodule
Enum Class SubmoduleStatusType
- All Implemented Interfaces:
Serializable
,Comparable<SubmoduleStatusType>
,Constable
Enumeration of different statuses that a submodule 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 ConstantDescriptionSubmodule's Git repository is initializedSubmodule's configuration is missingSubmodule commit checked out is different than the commit referenced in the index treeSubmodule's Git repository is not initialized -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SubmoduleStatusType
Returns the enum constant of this class with the specified name.static SubmoduleStatusType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING
Submodule's configuration is missing -
UNINITIALIZED
Submodule's Git repository is not initialized -
INITIALIZED
Submodule's Git repository is initialized -
REV_CHECKED_OUT
Submodule commit checked out is different than the commit referenced in the index tree
-
-
Constructor Details
-
SubmoduleStatusType
private SubmoduleStatusType()
-
-
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
-