Package eu.maveniverse.domtrip.maven
Enum AlignOptions.PropertyNamingConvention
- java.lang.Object
-
- java.lang.Enum<AlignOptions.PropertyNamingConvention>
-
- eu.maveniverse.domtrip.maven.AlignOptions.PropertyNamingConvention
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AlignOptions.PropertyNamingConvention>
- Enclosing class:
- AlignOptions
public static enum AlignOptions.PropertyNamingConvention extends java.lang.Enum<AlignOptions.PropertyNamingConvention>
Naming convention for version properties.- Since:
- 1.1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMEL_CASECamelCase:artifactIdVersion(e.g.,guavaVersion).DASH_SUFFIXDash suffix:artifactId-version(e.g.,guava-version).DOT_PREFIXDot prefix:version.artifactId(e.g.,version.guava).DOT_SUFFIXDot suffix:artifactId.version(e.g.,guava.version).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlignOptions.PropertyNamingConventionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AlignOptions.PropertyNamingConvention[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOT_SUFFIX
public static final AlignOptions.PropertyNamingConvention DOT_SUFFIX
Dot suffix:artifactId.version(e.g.,guava.version).
-
DASH_SUFFIX
public static final AlignOptions.PropertyNamingConvention DASH_SUFFIX
Dash suffix:artifactId-version(e.g.,guava-version).
-
CAMEL_CASE
public static final AlignOptions.PropertyNamingConvention CAMEL_CASE
CamelCase:artifactIdVersion(e.g.,guavaVersion).
-
DOT_PREFIX
public static final AlignOptions.PropertyNamingConvention DOT_PREFIX
Dot prefix:version.artifactId(e.g.,version.guava).
-
-
Method Detail
-
values
public static AlignOptions.PropertyNamingConvention[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlignOptions.PropertyNamingConvention c : AlignOptions.PropertyNamingConvention.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlignOptions.PropertyNamingConvention valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-