public class MavenPluginLocation extends PluginLocation<MavenPluginVersion>
| Modifier | Constructor and Description |
|---|---|
protected |
MavenPluginLocation(MavenPluginRepository mavenPluginRepository,
String defaultrepository,
String groupId,
String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
List<MavenPluginVersion> |
getAllVersions() |
String |
getArtifactId() |
String |
getGroupId() |
MavenPluginVersion |
getLatestVersion() |
String |
getLatestVersionString() |
MavenPluginBundle |
getMavenPluginBundle(String version) |
SPluginBundle |
getPluginBundle(String version) |
SPluginBundleVersion |
getPluginBundleVersion(String version) |
PluginBundleIdentifier |
getPluginIdentifier() |
PluginBundleVersionIdentifier |
getPluginVersionIdentifier(String version) |
String |
getRepository(String version) |
GregorianCalendar |
getVersionDate(String version) |
byte[] |
getVersionIcon(String version) |
Path |
getVersionJar(String version) |
byte[] |
getVersionPluginXml(String version) |
Path |
getVersionPom(String version) |
void |
setArtifactId(String artifactId) |
void |
setGroupId(String groupId) |
String |
toString() |
protected MavenPluginLocation(MavenPluginRepository mavenPluginRepository, String defaultrepository, String groupId, String artifactId)
public void setGroupId(String groupId)
public void setArtifactId(String artifactId)
public String getArtifactId()
public String getGroupId()
public List<MavenPluginVersion> getAllVersions()
getAllVersions in class PluginLocation<MavenPluginVersion>public String getLatestVersionString()
public MavenPluginVersion getLatestVersion()
public Path getVersionJar(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic byte[] getVersionIcon(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException, IOException
org.eclipse.aether.resolution.ArtifactResolutionExceptionIOExceptionpublic GregorianCalendar getVersionDate(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException, ParseException, IOException
org.eclipse.aether.resolution.ArtifactResolutionExceptionParseExceptionIOExceptionpublic byte[] getVersionPluginXml(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException, IOException
org.eclipse.aether.resolution.ArtifactResolutionExceptionIOExceptionpublic Path getVersionPom(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic PluginBundleIdentifier getPluginIdentifier()
getPluginIdentifier in class PluginLocation<MavenPluginVersion>public SPluginBundle getPluginBundle(String version)
public SPluginBundleVersion getPluginBundleVersion(String version)
public PluginBundleVersionIdentifier getPluginVersionIdentifier(String version)
public String getRepository(String version) throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic MavenPluginBundle getMavenPluginBundle(String version)
Copyright © 2018 OpenSource BIM. All rights reserved.