Package top.marchand.maven.plugins
Class VersionCalculator
- java.lang.Object
-
- top.marchand.maven.plugins.VersionCalculator
-
public class VersionCalculator extends Object
-
-
Constructor Summary
Constructors Constructor Description VersionCalculator(String inputVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextMajorRelease()StringnextMajorSnapshot()StringnextMinorRelease()StringnextMinorSnapshot()StringnextPatchRelease()StringnextPatchSnapshot()Stringprefix()booleansnapshot()Stringsuffix()
-
-
-
Field Detail
-
SNAPSHOT
public static final String SNAPSHOT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VersionCalculator
public VersionCalculator(String inputVersion) throws VersionCalculatorException
- Throws:
VersionCalculatorException
-
-
Method Detail
-
nextPatchRelease
public String nextPatchRelease()
-
suffix
public String suffix()
-
prefix
public String prefix()
-
snapshot
public boolean snapshot()
-
nextMinorRelease
public String nextMinorRelease()
-
nextMajorRelease
public String nextMajorRelease()
-
nextPatchSnapshot
public String nextPatchSnapshot()
-
nextMinorSnapshot
public String nextMinorSnapshot()
-
nextMajorSnapshot
public String nextMajorSnapshot()
-
-