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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>
modelParents
Map of model IDs to IDs of the model parents (if defined).
-
Constructor Summary
Constructors Constructor Description MavenBuildInformation(String mavenVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMavenVersion()
boolean
isAtLeastMavenVersion(String version)
Returns if this maven version is at least 'version'.boolean
isMaven3OrLater()
String
toString()
-
-
-
Constructor Detail
-
MavenBuildInformation
public MavenBuildInformation(String mavenVersion)
-
-
Method Detail
-
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
-
-