Package org.apache.maven.plugins.gpg
Class GpgVersion
java.lang.Object
org.apache.maven.plugins.gpg.GpgVersion
- All Implemented Interfaces:
- Comparable<GpgVersion>
Represents the semver value of GPG.
 This is in most cases the first line of 
gpg --version- Since:
- 3.0.0
- Author:
- Robert Scholte
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(GpgVersion other) booleaninthashCode()booleanisAtLeast(GpgVersion other) Verify if this version is at least some other versionbooleanisBefore(GpgVersion other) Verify if this version is before some other versionstatic GpgVersiontoString()
- 
Method Details- 
parse
- 
compareTo- Specified by:
- compareToin interface- Comparable<GpgVersion>
 
- 
isBeforeVerify if this version is before some other version- Parameters:
- other- the version to compare with
- Returns:
- trueis this is less than- other, otherwise- false
 
- 
isAtLeastVerify if this version is at least some other version- Parameters:
- other- the version to compare with
- Returns:
- trueis this is greater than or equal to- other, otherwise- false
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-