Enum Class CoreConfig.TrustPackedRefsStat

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

@Deprecated(since="7.2", forRemoval=true) public static enum CoreConfig.TrustPackedRefsStat extends Enum<CoreConfig.TrustPackedRefsStat>
Deprecated, for removal: This API element is subject to removal in a future version.
Permissible values for core.trustPackedRefsStat.
Since:
6.1.1
  • 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 the packed-refs file 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 packed-refs file.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Do not trust file attributes of the packed-refs file.
    Deprecated, for removal: This API element is subject to removal in a future version.
    core.trustPackedRefsStat defaults to this when it is not set
  • 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

    • NEVER

      public static final CoreConfig.TrustPackedRefsStat NEVER
      Deprecated, for removal: This API element is subject to removal in a future version.
      Do not trust file attributes of the packed-refs file.
    • ALWAYS

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

      public static final CoreConfig.TrustPackedRefsStat AFTER_OPEN
      Deprecated, for removal: This API element is subject to removal in a future version.
      Open and close the packed-refs file to refresh its file attributes and then trust it.
    • UNSET

      public static final CoreConfig.TrustPackedRefsStat UNSET
      Deprecated, for removal: This API element is subject to removal in a future version.
      core.trustPackedRefsStat defaults to this when it is not set
  • Method Details

    • values

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