@Expander(value=RestPlanExpander.class) public class RestPlan extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY |
protected RestPlan |
master |
static String |
NAME |
protected com.atlassian.plugins.rest.common.Link |
parentLink |
static String |
PLAN_KEY |
Constructor and Description |
---|
RestPlan() |
RestPlan(ImmutablePlan plan,
boolean favourite,
javax.ws.rs.core.UriInfo uriInfo,
PlanRestService planRestService,
com.atlassian.user.User currentRestUser) |
Modifier and Type | Method and Description |
---|---|
void |
expand(Collection<org.acegisecurity.acls.Permission> actions,
com.atlassian.user.User user,
boolean allBranches) |
RestPlanActionList |
getActions() |
RestPlanBranchList |
getBranches() |
com.atlassian.user.User |
getCurrentRestUser() |
String |
getPlanKey() |
RestStageList |
getStages() |
void |
setActions(RestPlanActionList actions) |
void |
setActive(Boolean active) |
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.common.Link link) |
void |
setPlanKey(String planKey) |
void |
setPlanName(String planName) |
void |
setProject(Project project) |
void |
setStages(RestStageList stages) |
void |
setVariableContext(RestVariableDefinitionContextList variableContext) |
public static final String KEY
public static final String NAME
public static final String PLAN_KEY
protected com.atlassian.plugins.rest.common.Link parentLink
@Expandable protected RestPlan master
public RestPlan()
public RestPlan(ImmutablePlan plan, boolean favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable com.atlassian.user.User currentRestUser)
public void setProject(Project project)
public String getPlanKey()
public void setPlanKey(String planKey)
public void setPlanName(String planName)
public void setFavourite(Boolean favourite)
public void setLink(com.atlassian.plugins.rest.common.Link link)
public RestPlanActionList getActions()
public void setActions(RestPlanActionList actions)
public RestStageList getStages()
public void setStages(RestStageList stages)
public RestPlanBranchList getBranches()
public void setBranches(RestPlanBranchList branches)
public void setAverageBuildTimeInSeconds(Double averageBuildTimeInSeconds)
public void setActive(Boolean active)
public void setBuilding(Boolean building)
public void setVariableContext(RestVariableDefinitionContextList variableContext)
public void setDescription(String description)
public void expand(Collection<org.acegisecurity.acls.Permission> actions, @Nullable com.atlassian.user.User user, boolean allBranches)
@Nullable public com.atlassian.user.User getCurrentRestUser()
public void setBuildName(String buildName)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.