Class DefaultMvnRepoDependency
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
org.jdrupes.builder.mvnrepo.DefaultMvnRepoDependency
- All Implemented Interfaces:
Proxyable, Resource, MvnRepoDependency, MvnRepoResource
Represents an artifact in a maven repository.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MvnRepoDependency
MvnRepoDependency.Scope -
Constructor Summary
ConstructorsConstructorDescriptionDefaultMvnRepoDependency(ResourceType<? extends MvnRepoDependency> type, String coordinate, MvnRepoDependency.Scope scope) Instantiates a new default mvn repo dependency. -
Method Summary
Methods inherited from class DefaultMvnRepoResource
artifactId, equals, groupId, hashCode, versionMethods inherited from class ResourceObject
typeMethods inherited from interface MvnRepoResource
artifactId, coordinates, groupId, versionMethods inherited from interface Resource
asOf, asOfLocalized, type
-
Constructor Details
-
DefaultMvnRepoDependency
public DefaultMvnRepoDependency(ResourceType<? extends MvnRepoDependency> type, String coordinate, MvnRepoDependency.Scope scope) Instantiates a new default mvn repo dependency.- Parameters:
type- the typecoordinate- the coordinatescope- the scope
-
-
Method Details
-
scope
Description copied from interface:MvnRepoDependencyThe scope.- Specified by:
scopein interfaceMvnRepoDependency- Returns:
- the scope
-
toString
To string.- Overrides:
toStringin classDefaultMvnRepoResource- Returns:
- the string
-