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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The next build number represents the number of the next build result that's to be executed.long
void
setNextBuildNumber
(int nextBuildNumber) void
setPlanId
(long planId) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods 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:
getPlanId
in interfacePlanBuildNumbers
-
getNextBuildNumber
public int getNextBuildNumber()Description copied from interface:PlanBuildNumbers
The 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:
getNextBuildNumber
in interfacePlanBuildNumbers
- Returns:
- a build number, starting with 1
-
setPlanId
public void setPlanId(long planId) -
setNextBuildNumber
public void setNextBuildNumber(int nextBuildNumber)
-