Package hudson.maven

Class MavenBuildInformation

java.lang.Object
hudson.maven.MavenBuildInformation
All Implemented Interfaces:
Serializable

public class MavenBuildInformation extends Object implements Serializable
Since:
1.392
Author:
Olivier Lamy
See Also:
  • Field Details

    • modelParents

      public final Map<String,String> modelParents
      Map of model IDs to IDs of the model parents (if defined).
      Since:
      1.515
      See Also:
      • MavenProject.getId()
      • Model.getId()
      • MavenProject.getParent()
      • Model.getParent()
  • Constructor Details

    • MavenBuildInformation

      public MavenBuildInformation(String mavenVersion)
  • Method Details

    • getMavenVersion

      public String getMavenVersion()
    • isMaven3OrLater

      public boolean isMaven3OrLater()
      Since:
      1.441
    • isAtLeastMavenVersion

      public boolean isAtLeastMavenVersion(String version)
      Returns if this maven version is at least 'version'.
      Parameters:
      version - the version to compare against
      Since:
      1.441
    • toString

      public String toString()
      Overrides:
      toString in class Object