Package com.atlassian.bamboo.plan.number
Class PlanBuildNumbersImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.plan.number.PlanBuildNumbersImpl
- All Implemented Interfaces:
BambooIdProvider,BambooObject,PlanBuildNumbers,Cloneable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe next build number represents the number of the next build result that's to be executed.longvoidsetNextBuildNumber(int nextBuildNumber) voidsetPlanId(long planId) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Field Details
-
UNINITIALISED
-
-
Constructor Details
-
PlanBuildNumbersImpl
public PlanBuildNumbersImpl() -
PlanBuildNumbersImpl
-
-
Method Details
-
getPlanId
public long getPlanId()- Specified by:
getPlanIdin interfacePlanBuildNumbers
-
getNextBuildNumber
public int getNextBuildNumber()Description copied from interface:PlanBuildNumbersThe next build number represents the number of the next build result that's to be executed. As a rule, a build with this number does not exist and never did.- Specified by:
getNextBuildNumberin interfacePlanBuildNumbers- Returns:
- a build number, starting with 1
-
setPlanId
public void setPlanId(long planId) -
setNextBuildNumber
public void setNextBuildNumber(int nextBuildNumber)
-