Enum AlignOptions.PropertyNamingConvention
java.lang.Object
java.lang.Enum<AlignOptions.PropertyNamingConvention>
eu.maveniverse.domtrip.maven.AlignOptions.PropertyNamingConvention
- All Implemented Interfaces:
Serializable, Comparable<AlignOptions.PropertyNamingConvention>, java.lang.constant.Constable
- Enclosing class:
AlignOptions
public static enum AlignOptions.PropertyNamingConvention
extends Enum<AlignOptions.PropertyNamingConvention>
Naming convention for version properties.
- Since:
- 1.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCamelCase:artifactIdVersion(e.g.,guavaVersion).Dash suffix:artifactId-version(e.g.,guava-version).Dot prefix:version.artifactId(e.g.,version.guava).Dot suffix:artifactId.version(e.g.,guava.version). -
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
-
DOT_SUFFIX
Dot suffix:artifactId.version(e.g.,guava.version). -
DASH_SUFFIX
Dash suffix:artifactId-version(e.g.,guava-version). -
CAMEL_CASE
CamelCase:artifactIdVersion(e.g.,guavaVersion). -
DOT_PREFIX
Dot prefix:version.artifactId(e.g.,version.guava).
-
-
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
-