Enum MojoMetadataProvider.Context.FileSet.LineEndingHandling
java.lang.Object
java.lang.Enum<MojoMetadataProvider.Context.FileSet.LineEndingHandling>
com.gradle.develocity.agent.maven.api.cache.MojoMetadataProvider.Context.FileSet.LineEndingHandling
- All Implemented Interfaces:
Serializable
,Comparable<MojoMetadataProvider.Context.FileSet.LineEndingHandling>
,java.lang.constant.Constable
- Enclosing interface:
MojoMetadataProvider.Context.FileSet
public static enum MojoMetadataProvider.Context.FileSet.LineEndingHandling
extends Enum<MojoMetadataProvider.Context.FileSet.LineEndingHandling>
Allows specifying whether line endings should be normalized for Build Cache checks, so that files that only differ by line endings will be considered identical.
- Since:
- 1.21
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
No normalization. -
NORMALIZE
Normalize line endings for text files with ASCII encoding or its supersets.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-