java.lang.Object
com.atlassian.bamboo.plugins.rest.model.plan.RestPlan

@Expander(RestPlanExpander.class) public class RestPlan extends Object
  • Field Details

  • Constructor Details

    • RestPlan

      public RestPlan()
    • RestPlan

      public RestPlan(ImmutablePlan plan, Supplier<Boolean> favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable @Nullable com.atlassian.user.User currentRestUser)
  • Method Details

    • setProject

      public void setProject(Project project)
    • getPlanKey

      public String getPlanKey()
    • setPlanKey

      public void setPlanKey(String planKey)
    • setPlanName

      public void setPlanName(String planName)
    • setPlanKey

      public void setPlanKey(long id)
    • setFavourite

      public void setFavourite(Boolean favourite)
    • setLink

      public void setLink(com.atlassian.plugins.rest.api.model.Link link)
    • getActions

      public RestPlanActionList getActions()
    • setActions

      public void setActions(RestPlanActionList actions)
    • getStages

      public RestStageList getStages()
    • setStages

      public void setStages(RestStageList stages)
    • getBranches

      public RestPlanBranchList getBranches()
    • setBranches

      public void setBranches(RestPlanBranchList branches)
    • setAverageBuildTimeInSeconds

      public void setAverageBuildTimeInSeconds(Double averageBuildTimeInSeconds)
    • setActive

      public void setActive(Boolean active)
    • setBuilding

      public void setBuilding(Boolean building)
    • setVariableContext

      public void setVariableContext(RestVariableDefinitionContextList variableContext)
    • setDescription

      public void setDescription(String description)
    • expand

      public void expand(Collection<org.acegisecurity.acls.Permission> actions, @Nullable @Nullable com.atlassian.user.User user, boolean allBranches)
    • getCurrentRestUser

      @Nullable public @Nullable com.atlassian.user.User getCurrentRestUser()
    • setBuildName

      public void setBuildName(String buildName)
    • getExpand

      public String getExpand()
    • getProjectKey

      public String getProjectKey()
    • getProjectName

      public String getProjectName()
    • getProject

      public RestProject getProject()
    • getDescription

      public String getDescription()
    • getParentName

      public String getParentName()
    • getParentKey

      public String getParentKey()
    • getParentLink

      public com.atlassian.plugins.rest.api.model.Link getParentLink()
    • getMaster

      public RestPlan getMaster()
    • getStageName

      public String getStageName()
    • getId

      public long getId()
    • getPlanName

      public String getPlanName()
    • getShortName

      public String getShortName()
    • getBuildName

      public String getBuildName()
    • getShortKey

      public String getShortKey()
    • getType

      public String getType()
    • getEnabled

      public Boolean getEnabled()
    • getRestPlanKey

      public RestKey getRestPlanKey()
    • getLink

      public com.atlassian.plugins.rest.api.model.Link getLink()
    • getFavourite

      public Boolean getFavourite()
    • getActive

      public Boolean getActive()
    • getBuilding

      public Boolean getBuilding()
    • getAverageBuildTimeInSeconds

      public Double getAverageBuildTimeInSeconds()
    • getVariableContext

      public RestVariableDefinitionContextList getVariableContext()