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
ConstructorDescriptionDependencyCoordinate
(Dependency dependency) DependencyCoordinate
(Dependency dependency, boolean showVersionProperty) DependencyCoordinate
(String groupId, String artifactId, @Nullable String version, int order, boolean pom) DependencyCoordinate
(String groupId, String artifactId, @Nullable String version, int order, boolean pom, @Nullable List<DependencyCoordinate> exclusions, @Nullable List<Substitution> substitutions) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull String
@Nullable List<DependencyCoordinate>
@NonNull String
int
getOrder()
@Nullable List<Substitution>
@Nullable String
int
hashCode()
boolean
isPom()
-
Constructor Details
-
DependencyCoordinate
-
DependencyCoordinate
-
DependencyCoordinate
-
DependencyCoordinate
public DependencyCoordinate(String groupId, String artifactId, @Nullable @Nullable String version, int order, boolean pom, @Nullable @Nullable List<DependencyCoordinate> exclusions, @Nullable @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()
-