@Singleton @Named public class DefaultVersionPolicy extends Object implements VersionPolicy
-SNAPSHOT
,
next development version adds a minor increment to release and adds -SNAPSHOT
.Constructor and Description |
---|
DefaultVersionPolicy() |
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.