Class DependencyCoordinate
java.lang.Object
io.micronaut.starter.build.dependencies.DependencyCoordinate
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,Coordinate
- Direct Known Subclasses:
GradleDependency
,MavenDependency
@Introspected
public class DependencyCoordinate
extends Object
implements Coordinate, io.micronaut.core.order.Ordered
-
Field Summary
Fields inherited from interface io.micronaut.starter.build.dependencies.Coordinate
COMPARATOR
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyCoordinate
(Dependency dependency) DependencyCoordinate
(Dependency dependency, boolean showVersionProperty) DependencyCoordinate
(String groupId, String artifactId, String version, int order, boolean pom) DependencyCoordinate
(String groupId, String artifactId, String version, int order, boolean pom, List<DependencyCoordinate> exclusions, List<Substitution> substitutions) -
Method Summary
-
Constructor Details
-
DependencyCoordinate
-
DependencyCoordinate
-
DependencyCoordinate
-
DependencyCoordinate
public DependencyCoordinate(String groupId, String artifactId, @Nullable String version, int order, boolean pom, @Nullable List<DependencyCoordinate> exclusions, @Nullable List<Substitution> substitutions)
-
-
Method Details
-
getSubstitutions
-
getExclusions
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-
getGroupId
- Specified by:
getGroupId
in interfaceCoordinate
-
getArtifactId
- Specified by:
getArtifactId
in interfaceCoordinate
-
getVersion
- Specified by:
getVersion
in interfaceCoordinate
-
isPom
public boolean isPom()- Specified by:
isPom
in interfaceCoordinate
-
equals
-
hashCode
public int hashCode()
-