Class RestPlan
java.lang.Object
com.atlassian.bamboo.plugins.rest.model.plan.RestPlan
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRestPlan()
RestPlan
(ImmutablePlan plan, Supplier<Boolean> favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable com.atlassian.user.User currentRestUser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
expand
(Collection<org.acegisecurity.acls.Permission> actions, @Nullable com.atlassian.user.User user, boolean allBranches) @Nullable com.atlassian.user.User
long
getId()
com.atlassian.plugins.rest.api.model.Link
getLink()
com.atlassian.plugins.rest.api.model.Link
getType()
void
setActions
(RestPlanActionList actions) void
void
setAverageBuildTimeInSeconds
(Double averageBuildTimeInSeconds) void
setBranches
(RestPlanBranchList branches) void
setBuilding
(Boolean building) void
setBuildName
(String buildName) void
setDescription
(String description) void
setFavourite
(Boolean favourite) void
setLink
(com.atlassian.plugins.rest.api.model.Link link) void
setPlanKey
(long id) void
setPlanKey
(String planKey) void
setPlanName
(String planName) void
setProject
(Project project) void
setStages
(RestStageList stages) void
setVariableContext
(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
-