Class RestPlan
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.model.plan.RestPlan
-
@Expander(RestPlanExpander.class) public class RestPlan extends Object
-
-
Constructor Summary
Constructors Constructor Description RestPlan()
RestPlan(ImmutablePlan plan, Supplier<Boolean> favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable com.atlassian.user.User currentRestUser)
-
Method Summary
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PLAN_KEY
public static final String PLAN_KEY
- See Also:
- Constant Field Values
-
parentLink
protected com.atlassian.plugins.rest.common.Link parentLink
-
master
@Expandable protected RestPlan master
-
-
Constructor Detail
-
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 Detail
-
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.common.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.common.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.common.Link getLink()
-
getFavourite
public Boolean getFavourite()
-
getActive
public Boolean getActive()
-
getBuilding
public Boolean getBuilding()
-
getAverageBuildTimeInSeconds
public Double getAverageBuildTimeInSeconds()
-
getVariableContext
public RestVariableDefinitionContextList getVariableContext()
-
-