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

@Entity public class PlanBuildNumbersImpl extends BambooEntityObject implements PlanBuildNumbers
  • Field Details

  • Constructor Details

    • PlanBuildNumbersImpl

      public PlanBuildNumbersImpl()
    • PlanBuildNumbersImpl

      public PlanBuildNumbersImpl(@NotNull @NotNull PlanIdentifier planIdentifier)
  • Method Details

    • getPlanId

      public long getPlanId()
      Specified by:
      getPlanId in interface PlanBuildNumbers
    • 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 interface PlanBuildNumbers
      Returns:
      a build number, starting with 1
    • setPlanId

      public void setPlanId(long planId)
    • setNextBuildNumber

      public void setNextBuildNumber(int nextBuildNumber)