Package org.azd.enums
Enum Class GitHistoryMode
- All Implemented Interfaces:
Serializable
,Comparable<GitHistoryMode>
,Constable
What Git history mode should be used. This only applies to the search criteria when Ids = null and an itemPath is specified.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe history mode used by git log --first-parentThe history mode used by git log --full-historyThe history mode used by git log --full-history --simplify-mergesThe history mode used by git log. -
Method Summary
Modifier and TypeMethodDescriptionstatic GitHistoryMode
Returns the enum constant of this class with the specified name.static GitHistoryMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRSTPARENT
The history mode used by git log --first-parent -
FULLHISTORY
The history mode used by git log --full-history -
FULLHISTORYSIMPLIFYMERGES
The history mode used by git log --full-history --simplify-merges -
SIMPLIFIEDHISTORY
The history mode used by git log. This is the default.
-
-
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
-