Enum Class EdgeKind
- All Implemented Interfaces:
Serializable, Comparable<EdgeKind>, Constable
The Maven model site that produced a
CascadeEdge.
The release cascade derives edges from every version-bearing site
in an IKE POM, not just <dependencies>. The kind records
which site an edge came from, so the cascade can do
site-appropriate things on alignment — for example, rewriting a
parent's <version> differently from a dependency's, or
skipping a build-only plugin edge that the consumer POM doesn't
carry to its release.
Kinds:
PARENT— the project's<parent>block.DEPENDENCY— a<dependency>(compile, runtime, or test scope) or a<dependencyManagement>entry without<scope>import</scope>.BOM— a<dependencyManagement>entry whose scope isimport(an imported BOM).PLUGIN— a<build><plugins>or<build><pluginManagement><plugins>entry. Includes plugins carrying<extensions>true</extensions>.EXTENSION— a.mvn/extensions.xmlentry. Maven 4 build extensions resolve before the POM model loads and so cannot ride a plugin edge; this kind names them explicitly.
See IKE-Network/ike-issues#496 for the derivation specification
and the dev-release-graph-derivation topic in
ike-lab-documents.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA<dependencyManagement>entry with<scope>import</scope>.A<dependency>or non-import<dependencyManagement>edge.A.mvn/extensions.xmledge.A<parent>edge.A<plugin>or<pluginManagement>edge, including extensions-carrying plugins. -
Method Summary
-
Enum Constant Details
-
PARENT
A<parent>edge. -
DEPENDENCY
A<dependency>or non-import<dependencyManagement>edge. -
BOM
A<dependencyManagement>entry with<scope>import</scope>. -
PLUGIN
A<plugin>or<pluginManagement>edge, including extensions-carrying plugins. -
EXTENSION
A.mvn/extensions.xmledge.
-
-
Method Details
-
values
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
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
-