public class Plugin extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
artifactId
Plugin artifact ID.
|
HPI |
latest
Latest version of this plugin.
|
HPI |
previous
Previous version of this plugin.
|
| Constructor and Description |
|---|
Plugin(HPI hpi) |
Plugin(PluginHistory hpi) |
Plugin(String artifactId,
HPI latest,
HPI previous) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLabels() |
String |
getName() |
String |
getPluginUrl() |
String |
getScmUrl()
Get hostname of SCM specified in POM of latest release, or null.
|
static String |
simplifyPluginName(String name) |
net.sf.json.JSONObject |
toJSON() |
public final String artifactId
public final HPI latest
public final HPI previous
public Plugin(String artifactId, HPI latest, HPI previous) throws IOException
IOExceptionpublic Plugin(PluginHistory hpi) throws IOException
IOExceptionpublic Plugin(HPI hpi) throws IOException
IOExceptionpublic String getPluginUrl() throws IOException
IOExceptionpublic String getScmUrl() throws IOException
IOExceptionpublic String[] getLabels()
public String getName() throws IOException
IOExceptionpublic net.sf.json.JSONObject toJSON()
throws IOException
IOExceptionCopyright © 2004-2018. All Rights Reserved.