|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuntimeInformation
Provides information about the current Maven runtime.
| Method Summary | |
|---|---|
java.lang.String |
getMavenVersion()
Retrieves the current Maven version, for example "3.0.2". |
boolean |
isMavenVersion(java.lang.String versionRange)
Checks whether the current Maven runtime matches the specified version range. |
| Method Detail |
|---|
java.lang.String getMavenVersion()
null.boolean isMavenVersion(java.lang.String versionRange)
versionRange - The version range to match the current Maven runtime against, must not be null.
true if the current Maven runtime matches the specified version range, false otherwise.
java.lang.IllegalArgumentException - If the specified version range is null, empty or otherwise not a valid
version specification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||