| Modifier and Type | Field and Description |
|---|---|
org.sonatype.nexus.index.ArtifactInfo |
artifact |
MavenRepository |
repository
Where did this plugin come from?
|
String |
version |
| Constructor and Description |
|---|
MavenArtifact(MavenRepository repository,
org.sonatype.nexus.index.ArtifactInfo artifact) |
| Modifier and Type | Method and Description |
|---|---|
static SimpleDateFormat |
getDateFormat() |
org.jvnet.hudson.update_center.MavenArtifact.Digests |
getDigests() |
String |
getGavId() |
Manifest |
getManifest() |
Attributes |
getManifestAttributes() |
long |
getTimestamp() |
Date |
getTimestampAsDate() |
String |
getTimestampAsString() |
URL |
getURL()
Where to download from?
|
hudson.util.VersionNumber |
getVersion() |
boolean |
isAlphaOrBeta() |
File |
resolve() |
File |
resolvePOM() |
File |
resolveSources() |
net.sf.json.JSONObject |
toJSON(String name) |
String |
toString() |
public final MavenRepository repository
public final org.sonatype.nexus.index.ArtifactInfo artifact
public final String version
public MavenArtifact(MavenRepository repository, org.sonatype.nexus.index.ArtifactInfo artifact)
public File resolve() throws IOException
IOExceptionpublic File resolvePOM() throws IOException
IOExceptionpublic File resolveSources() throws IOException
IOExceptionpublic org.jvnet.hudson.update_center.MavenArtifact.Digests getDigests()
throws IOException
IOExceptionpublic net.sf.json.JSONObject toJSON(String name) throws IOException
IOExceptionpublic hudson.util.VersionNumber getVersion()
public boolean isAlphaOrBeta()
public String getTimestampAsString() throws IOException
IOExceptionpublic Date getTimestampAsDate() throws IOException
IOExceptionpublic static SimpleDateFormat getDateFormat()
public long getTimestamp()
throws IOException
IOExceptionpublic Manifest getManifest() throws IOException
IOExceptionpublic Attributes getManifestAttributes() throws IOException
IOExceptionpublic URL getURL() throws MalformedURLException
MalformedURLExceptionpublic String getGavId()
Copyright © 2004-2018. All Rights Reserved.