Interface VersionPolicy
-
- All Known Implementing Classes:
DefaultVersionPolicy
public interface VersionPolicyAPI for next version calculations, used by maven-release-plugin to suggest release and next develoment versions.- Since:
- 2.5.1 (MRELEASE-431)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionPolicyResultgetDevelopmentVersion(VersionPolicyRequest request)Calculation of the next development version from release state.VersionPolicyResultgetReleaseVersion(VersionPolicyRequest request)Calculation of the release version from development state.
-
-
-
Method Detail
-
getReleaseVersion
VersionPolicyResult getReleaseVersion(VersionPolicyRequest request) throws PolicyException, VersionParseException
Calculation of the release version from development state.- Throws:
PolicyExceptionVersionParseException
-
getDevelopmentVersion
VersionPolicyResult getDevelopmentVersion(VersionPolicyRequest request) throws PolicyException, VersionParseException
Calculation of the next development version from release state.- Throws:
PolicyExceptionVersionParseException
-
-