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
COMPARATORFields 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, @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 StringintgetOrder()@Nullable List<Substitution>@Nullable StringinthashCode()booleanisPom()
-
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:
getOrderin interfaceio.micronaut.core.order.Ordered
-
getGroupId
- Specified by:
getGroupIdin interfaceCoordinate
-
getArtifactId
- Specified by:
getArtifactIdin interfaceCoordinate
-
getVersion
- Specified by:
getVersionin interfaceCoordinate
-
isPom
public boolean isPom()- Specified by:
isPomin interfaceCoordinate
-
equals
-
hashCode
public int hashCode()
-