Class DefaultMvnRepoResource
java.lang.Object
org.jdrupes.builder.core.ResourceObject
org.jdrupes.builder.mvnrepo.DefaultMvnRepoResource
- All Implemented Interfaces:
Proxyable, Resource, MvnRepoResource
Represents an artifact in a maven repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMvnRepoResource(ResourceType<? extends MvnRepoResource> type, String coordinate) Instantiates a new default mvn repo dependency. -
Method Summary
Methods inherited from class ResourceObject
isLocked, name, name, typeMethods inherited from interface MvnRepoResource
coordinatesMethods inherited from interface Resource
asOf, asOfLocalized, name, type
-
Constructor Details
-
DefaultMvnRepoResource
Instantiates a new default mvn repo dependency. The coordinate is parsed into its component parts following the schemagroupId:artifactId[[:classifier]:type]:version.- Parameters:
type- the typecoordinate- the coordinate
-
-
Method Details
-
groupId
Group id.- Specified by:
groupIdin interfaceMvnRepoResource- Returns:
- the string
-
artifactId
Artifact id.- Specified by:
artifactIdin interfaceMvnRepoResource- Returns:
- the string
-
classifier
Description copied from interface:MvnRepoResourceClassifier.- Specified by:
classifierin interfaceMvnRepoResource- Returns:
- the string (defaults to "")
-
mvnType
Description copied from interface:MvnRepoResourceMaven type.- Specified by:
mvnTypein interfaceMvnRepoResource- Returns:
- the string (defaults to "")
-
version
Version.- Specified by:
versionin interfaceMvnRepoResource- Returns:
- the string (defaults to "")
-
hashCode
- Overrides:
hashCodein classResourceObject
-
equals
- Overrides:
equalsin classResourceObject
-
toString
-