public class PluginOverviewStats extends OverviewStats
| Constructor and Description |
|---|
PluginOverviewStats() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends OverviewStats,V extends ArtifactVersions> |
fromUpdates(Collection<V> updates,
ArtifactVersionsCache cache)
Creates a PluginOverviewStats instance based on the collection of version updates in
the argument
|
int |
getDependencies() |
void |
incrementDependencies() |
getAny, getIncremental, getMajor, getMinor, getNewestUpdate, getUpToDate, incrementAny, incrementIncremental, incrementMajor, incrementMinor, incrementUpToDatepublic int getDependencies()
public void incrementDependencies()
public static <T extends OverviewStats,V extends ArtifactVersions> T fromUpdates(Collection<V> updates, ArtifactVersionsCache cache)
T - always equal to PluginOverviewStatsV - always equal to PluginUpdatesDetailsupdates - collection of all version updates, typically from AbstractUpdatesModel.getAllUpdates()cache - if not null, cache to retrieve the version information, initialised with
the AbstractVersionDetails.getNewestUpdate(Optional) update informationCopyright © 2008–2022 MojoHaus. All rights reserved.