Class NexusContentServiceArtifactURLBuilder
java.lang.Object
org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.AbstractArtifactURLBuilder
org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.NexusContentServiceArtifactURLBuilder
- All Implemented Interfaces:
IArtifactURLBuilder
This implementation creates a download link for the given artifact by using
an inbuild Nexus service. So this implementation uses the RESTful interface
of Nexus to submit the artifact details to the service, and the Nexus service
will return the artifact.
Example: Example
Further documentation: Sonatype Support
Example: Example
Further documentation: Sonatype Support
- Author:
- stephan.watermeyer, Diebold Nixdorf
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.AbstractArtifactURLBuilder
build, getArtifactId, getClassifier, getGroupId, getNexusURL, getPackaging, getRepositoryId, getVersion, setArtifactId, setClassifier, setGroupId, setNexusURL, setPackaging, setRepositoryId, setVersion
-
Constructor Details
-
NexusContentServiceArtifactURLBuilder
public NexusContentServiceArtifactURLBuilder()
-
-
Method Details
-
build
Description copied from interface:IArtifactURLBuilderBased on the given details the URL for the artifact is created.- Parameters:
pOnlyBaseURL-trueif only the URI should be returned.- Returns:
- the URL or the folder where the artifact can be found or downloaded.
-