com.atlassian.bamboo.build
Class BuildNumberGeneratorServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildNumberGeneratorServiceImpl
All Implemented Interfaces:
BuildNumberGeneratorService

public class BuildNumberGeneratorServiceImpl
extends java.lang.Object
implements BuildNumberGeneratorService


Constructor Summary
BuildNumberGeneratorServiceImpl(BuildNumberGeneratorDao buildNumberGeneratorDao)
           
 
Method Summary
 int generateBuildNumber(java.lang.String planKey)
          Returns a unique(consecutive) build number for a plan with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildNumberGeneratorServiceImpl

public BuildNumberGeneratorServiceImpl(BuildNumberGeneratorDao buildNumberGeneratorDao)
Method Detail

generateBuildNumber

public int generateBuildNumber(@NotNull
                               java.lang.String planKey)
Description copied from interface: BuildNumberGeneratorService
Returns a unique(consecutive) build number for a plan with the given key.

Specified by:
generateBuildNumber in interface BuildNumberGeneratorService
Returns:


Copyright © 2010 Atlassian. All Rights Reserved.