|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.hudson.update_center.PluginHistory
public final class PluginHistory
Information about Hudson plugin and its release history, discovered from Maven repository.
| Field Summary | |
|---|---|
String |
artifactId
ArtifactID equals short name. |
TreeMap<VersionNumber,HPI> |
artifacts
All discovered versions, by the version numbers, newer versions first. |
| Constructor Summary | |
|---|---|
PluginHistory(String shortName)
|
|
| Method Summary | |
|---|---|
void |
addArtifact(HPI hpi)
Adding a plugin carefully. |
Map.Entry<VersionNumber,HPI> |
findYoungestJenkinsArtifact()
Returns the youngest version of the artifact that's authentic Jenkins artifact. |
HPI |
latest()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String artifactId
public final TreeMap<VersionNumber,HPI> artifacts
| Constructor Detail |
|---|
public PluginHistory(String shortName)
| Method Detail |
|---|
public HPI latest()
public void addArtifact(HPI hpi)
If a plugin is renamed to jenkins-ci.org, we want to stop picking up newer changes elsewhere.
public Map.Entry<VersionNumber,HPI> findYoungestJenkinsArtifact()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||