Enum AddDependencyMojo.PropertyPattern
java.lang.Object
java.lang.Enum<AddDependencyMojo.PropertyPattern>
org.apache.maven.plugins.dependency.AddDependencyMojo.PropertyPattern
- All Implemented Interfaces:
Serializable, Comparable<AddDependencyMojo.PropertyPattern>
- Enclosing class:
AddDependencyMojo
Property naming conventions detected in existing POM files.
- Since:
- 3.11.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionartifactIdVersion(camelCase, e.g.,guavaVersion)artifactId-version(e.g.,guava-version)artifactId.version(e.g.,guava.version)version.artifactId(prefix, e.g.,version.guava) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract boolean(package private) abstract StringtoPropertyName(String artifactId) Returns the enum constant of this type with the specified name.static AddDependencyMojo.PropertyPattern[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DOT_VERSION
artifactId.version(e.g.,guava.version) -
DASH_VERSION
artifactId-version(e.g.,guava-version) -
CAMEL_VERSION
artifactIdVersion(camelCase, e.g.,guavaVersion) -
VERSION_PREFIX
version.artifactId(prefix, e.g.,version.guava)
-
-
Constructor Details
-
PropertyPattern
private PropertyPattern()
-
-
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
-
toPropertyName
-
matches
-