@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,
Supplier<Boolean> favourite,
javax.ws.rs.core.UriInfo uriInfo,
PlanRestService planRestService,
@Nullable com.atlassian.user.User currentRestUser) |
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, Supplier<Boolean> favourite, javax.ws.rs.core.UriInfo uriInfo, PlanRestService planRestService, @Nullable @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 @Nullable com.atlassian.user.User user, boolean allBranches)
@Nullable public @Nullable com.atlassian.user.User getCurrentRestUser()
public void setBuildName(String buildName)
public String getExpand()
public String getProjectKey()
public String getProjectName()
public RestProject getProject()
public String getDescription()
public String getParentName()
public String getParentKey()
public com.atlassian.plugins.rest.common.Link getParentLink()
public RestPlan getMaster()
public String getStageName()
public String getPlanName()
public String getShortName()
public String getBuildName()
public String getShortKey()
public String getType()
public Boolean getEnabled()
public RestKey getRestPlanKey()
public com.atlassian.plugins.rest.common.Link getLink()
public Boolean getFavourite()
public Boolean getActive()
public Boolean getBuilding()
public Double getAverageBuildTimeInSeconds()
public RestVariableDefinitionContextList getVariableContext()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.