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

    • isIncludeSnapshots

      public boolean isIncludeSnapshots()
    • getDependencyVersions

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

      public void addDependencyVersions(Map<org.apache.maven.model.Dependency,ArtifactVersions> dependencyVersions)
    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ArtifactVersions
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ArtifactVersions
    • compareTo

      public int compareTo(PluginUpdatesDetails that)