public interface BuildNumberService
Modifier and Type | Method and Description |
---|---|
int |
getNextBuildNumber(PlanIdentifier planIdentifier)
Returns next build number for a plan with the given key without bumping it.
|
boolean |
setBuildNumber(PlanIdentifier planIdentifier,
int newBuildNumber)
Sets new build number for a plan with the given key.
|
boolean setBuildNumber(@NotNull PlanIdentifier planIdentifier, int newBuildNumber)
newBuildNumber
must be greater than the current one.planIdentifier
- Identifier of a plannewBuildNumber
- must be greater than actual build numberint getNextBuildNumber(@NotNull PlanIdentifier planIdentifier)
planIdentifier
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.