- 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 ConstantsEnum ConstantDescriptionDeprecated, 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.trustPackedRefsStatdefaults to this when it is not set -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.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.
-
Enum Constant Details
-
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
Deprecated, for removal: This API element is subject to removal in a future version.Trust file attributes of the packed-refs file. -
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
Deprecated, for removal: This API element is subject to removal in a future version.core.trustPackedRefsStatdefaults to this when it is not set
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
CoreConfig.TrustStatinstead