Enum Class CoreConfig.TrustLooseRefStat

java.lang.Object
java.lang.Enum<CoreConfig.TrustLooseRefStat>
org.eclipse.jgit.lib.CoreConfig.TrustLooseRefStat
All Implemented Interfaces:
Serializable, Comparable<CoreConfig.TrustLooseRefStat>, Constable
Enclosing class:
CoreConfig

public static enum CoreConfig.TrustLooseRefStat extends Enum<CoreConfig.TrustLooseRefStat>
Permissible values for core.trustLooseRefStat.
Since:
6.9
  • Enum Constant Details

    • ALWAYS

      public static final CoreConfig.TrustLooseRefStat ALWAYS
      Trust file attributes of the loose ref.
    • AFTER_OPEN

      public static final CoreConfig.TrustLooseRefStat AFTER_OPEN
      Open and close parent directories of the loose ref file until the repository root to refresh its file attributes and then trust it.
  • Method Details

    • values

      public static CoreConfig.TrustLooseRefStat[] 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 CoreConfig.TrustLooseRefStat 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