Class AbstractArtifactURLBuilder
java.lang.Object
org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.AbstractArtifactURLBuilder
- All Implemented Interfaces:
IArtifactURLBuilder
- Direct Known Subclasses:
DirectArtifactURLBuilder,NexusContentServiceArtifactURLBuilder
This class provides basic functionality to allow the creation of a valid download link for a given artifact.
- Author:
- stephan.watermeyer, Diebold Nixdorf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Based on the given details the URL for the artifact is created.setArtifactId(String artifactId) setClassifier(String classifier) setGroupId(String groupId) setNexusURL(String repoURL) setPackaging(String packaging) setRepositoryId(String repositoryId) setVersion(String version) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.IArtifactURLBuilder
build
-
Constructor Details
-
AbstractArtifactURLBuilder
public AbstractArtifactURLBuilder()
-
-
Method Details
-
build
Description copied from interface:IArtifactURLBuilderBased on the given details the URL for the artifact is created.- Specified by:
buildin interfaceIArtifactURLBuilder- Returns:
- an URL where the artifact can be downloaded.
-
getNexusURL
-
setNexusURL
- Specified by:
setNexusURLin interfaceIArtifactURLBuilder
-
getGroupId
-
getArtifactId
-
getVersion
-
getClassifier
-
getPackaging
-
getRepositoryId
-
setRepositoryId
- Specified by:
setRepositoryIdin interfaceIArtifactURLBuilder
-
setPackaging
- Specified by:
setPackagingin interfaceIArtifactURLBuilder
-
setClassifier
- Specified by:
setClassifierin interfaceIArtifactURLBuilder
-
setArtifactId
- Specified by:
setArtifactIdin interfaceIArtifactURLBuilder
-
setGroupId
- Specified by:
setGroupIdin interfaceIArtifactURLBuilder
-
setVersion
- Specified by:
setVersionin interfaceIArtifactURLBuilder
-