Package org.azd.enums

Enum Class GitHistoryMode

java.lang.Object
java.lang.Enum<GitHistoryMode>
org.azd.enums.GitHistoryMode
All Implemented Interfaces:
Serializable, Comparable<GitHistoryMode>, Constable

public enum GitHistoryMode extends Enum<GitHistoryMode>
What Git history mode should be used. This only applies to the search criteria when Ids = null and an itemPath is specified.
  • Enum Constant Details

    • FIRSTPARENT

      public static final GitHistoryMode FIRSTPARENT
      The history mode used by git log --first-parent
    • FULLHISTORY

      public static final GitHistoryMode FULLHISTORY
      The history mode used by git log --full-history
    • FULLHISTORYSIMPLIFYMERGES

      public static final GitHistoryMode FULLHISTORYSIMPLIFYMERGES
      The history mode used by git log --full-history --simplify-merges
    • SIMPLIFIEDHISTORY

      public static final GitHistoryMode SIMPLIFIEDHISTORY
      The history mode used by git log. This is the default.
  • Method Details

    • values

      public static GitHistoryMode[] 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

      public static GitHistoryMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null