Class DependencyCoordinate
java.lang.Object
io.micronaut.projectgen.core.buildtools.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
Dependency Coordinate.
-
Field Summary
Fields inherited from interface io.micronaut.projectgen.core.buildtools.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, @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, @Nullable String comment) -
Method Summary
-
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, @Nullable @Nullable String comment)
-
-
Method Details
-
getSubstitutions
- Returns:
- substitutions
-
getExclusions
- Returns:
- exclusions
-
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
-
getComment
-
equals
-
hashCode
public int hashCode()
-