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

@Deprecated(since="7.2", forRemoval=true) public static enum CoreConfig.TrustLooseRefStat extends Enum<CoreConfig.TrustLooseRefStat>
Deprecated, for removal: This API element is subject to removal in a future version.
Permissible values for core.trustLooseRefStat.
Since:
6.9
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Open and close parent directories of the loose ref file until the repository root to refresh its file attributes and then trust it.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Trust file attributes of the loose ref.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ALWAYS

      public static final CoreConfig.TrustLooseRefStat ALWAYS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Trust file attributes of the loose ref.
    • AFTER_OPEN

      public static final CoreConfig.TrustLooseRefStat AFTER_OPEN
      Deprecated, for removal: This API element is subject to removal in a future version.
      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()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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