@Singleton @Named(value="SemVerVersionPolicy") @Description(value="A VersionPolicy following the SemVer rules") public class SemVerVersionPolicy extends Object implements VersionPolicy
Constructor and Description |
---|
SemVerVersionPolicy() |
Modifier and Type | Method and Description |
---|---|
VersionPolicyResult |
getDevelopmentVersion(VersionPolicyRequest request) |
VersionPolicyResult |
getReleaseVersion(VersionPolicyRequest request) |
public VersionPolicyResult getReleaseVersion(VersionPolicyRequest request) throws VersionParseException
getReleaseVersion
in interface VersionPolicy
VersionParseException
public VersionPolicyResult getDevelopmentVersion(VersionPolicyRequest request) throws VersionParseException
getDevelopmentVersion
in interface VersionPolicy
VersionParseException
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.