Class PluginUpdatesDetails

All Implemented Interfaces:
Comparable<ArtifactVersions>, VersionDetails

public class PluginUpdatesDetails extends ArtifactVersions
Details of a plugin's updates.
  • Constructor Details

    • PluginUpdatesDetails

      public PluginUpdatesDetails(ArtifactVersions artifactVersions, Map<org.apache.maven.model.Dependency,ArtifactVersions> dependencyVersions, boolean includeSnapshots)
  • Method Details

    • getDependencyVersions

      public Map<org.apache.maven.model.Dependency,ArtifactVersions> getDependencyVersions()
    • isArtifactUpdateAvailable

      public boolean isArtifactUpdateAvailable()
      Returns true if a new version of the artifact fulfilling the criteria (whether to include snapshots) can be found
      Returns:
      true if a new version can be found
    • isDependencyUpdateAvailable

      public boolean isDependencyUpdateAvailable()
      Returns true if a new version of the dependency can be found
      Returns:
      true if a new version can be found
    • isUpdateAvailable

      public boolean isUpdateAvailable()
      Returns true if a new version of the dependency can be found
      Returns:
      true if a new version can be found