public class BuildNumberServiceImpl extends Object implements BuildNumberService
| Constructor and Description |
|---|
BuildNumberServiceImpl() |
| 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.
|
public boolean setBuildNumber(@NotNull
PlanIdentifier planIdentifier,
int newBuildNumber)
BuildNumberServicenewBuildNumber must be greater than the current one.setBuildNumber in interface BuildNumberServiceplanIdentifier - Identifier of a plannewBuildNumber - must be greater than actual build numberpublic int getNextBuildNumber(@NotNull
PlanIdentifier planIdentifier)
BuildNumberServicegetNextBuildNumber in interface BuildNumberServiceCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.