Class RestPlan
java.lang.Object
com.atlassian.bamboo.plugins.rest.model.plan.RestPlan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRestPlan()RestPlan(ImmutablePlan plan, Supplier<Boolean> favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable com.atlassian.user.User currentRestUser) -
Method Summary
Modifier and TypeMethodDescriptionvoidexpand(Collection<org.acegisecurity.acls.Permission> actions, @Nullable com.atlassian.user.User user, boolean allBranches) @Nullable com.atlassian.user.UserlonggetId()com.atlassian.plugins.rest.api.model.LinkgetLink()com.atlassian.plugins.rest.api.model.LinkgetType()voidsetActions(RestPlanActionList actions) voidvoidsetAverageBuildTimeInSeconds(Double averageBuildTimeInSeconds) voidsetBranches(RestPlanBranchList branches) voidsetBuilding(Boolean building) voidsetBuildName(String buildName) voidsetDescription(String description) voidsetFavourite(Boolean favourite) voidsetLink(com.atlassian.plugins.rest.api.model.Link link) voidsetPlanKey(long id) voidsetPlanKey(String planKey) voidsetPlanName(String planName) voidsetProject(Project project) voidsetStages(RestStageList stages) voidsetVariableContext(RestVariableDefinitionContextList variableContext)
-
Field Details
-
KEY
- See Also:
-
NAME
- See Also:
-
PLAN_KEY
- See Also:
-
parentLink
protected com.atlassian.plugins.rest.api.model.Link parentLink -
master
-
-
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
-
getPlanKey
-
setPlanKey
-
setPlanName
-
setPlanKey
public void setPlanKey(long id) -
setFavourite
-
setLink
public void setLink(com.atlassian.plugins.rest.api.model.Link link) -
getActions
-
setActions
-
getStages
-
setStages
-
getBranches
-
setBranches
-
setAverageBuildTimeInSeconds
-
setActive
-
setBuilding
-
setVariableContext
-
setDescription
-
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
-
getExpand
-
getProjectKey
-
getProjectName
-
getProject
-
getDescription
-
getParentName
-
getParentKey
-
getParentLink
public com.atlassian.plugins.rest.api.model.Link getParentLink() -
getMaster
-
getStageName
-
getId
public long getId() -
getPlanName
-
getShortName
-
getBuildName
-
getShortKey
-
getType
-
getEnabled
-
getRestPlanKey
-
getLink
public com.atlassian.plugins.rest.api.model.Link getLink() -
getFavourite
-
getActive
-
getBuilding
-
getAverageBuildTimeInSeconds
-
getVariableContext
-