public class BuildNumberGeneratorServiceImpl extends Object implements BuildNumberGeneratorService
Constructor and Description |
---|
BuildNumberGeneratorServiceImpl(BuildNumberGeneratorDao buildNumberGeneratorDao) |
Modifier and Type | Method and Description |
---|---|
int |
generateBuildNumber(PlanIdentifier planIdentifier)
Returns a unique(consecutive) build number for a plan with the given key.
|
void |
initBuildNumbers(PlanIdentifier planIdentifier)
Initialise build numbers for a plan.
|
public BuildNumberGeneratorServiceImpl(BuildNumberGeneratorDao buildNumberGeneratorDao)
public int generateBuildNumber(@NotNull PlanIdentifier planIdentifier)
BuildNumberGeneratorService
generateBuildNumber
in interface BuildNumberGeneratorService
public void initBuildNumbers(@NotNull PlanIdentifier planIdentifier)
BuildNumberGeneratorService
initBuildNumbers
in interface BuildNumberGeneratorService
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.