com.atlassian.bamboo.plugins.rest.model.plan
Class RestPlan

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.model.plan.RestPlan

@Expander(value=RestPlanExpander.class)
public class RestPlan
extends java.lang.Object


Field Summary
static java.lang.String KEY
           
protected  RestPlan master
           
static java.lang.String NAME
           
protected  com.atlassian.plugins.rest.common.Link parentLink
           
 
Constructor Summary
RestPlan()
           
RestPlan(ImmutablePlan plan, boolean favourite, javax.ws.rs.core.UriInfo uriInfo, PlanService planService)
           
 
Method Summary
 void expand(java.util.Collection<org.acegisecurity.acls.Permission> actions)
           
 RestPlanActionList getActions()
           
 RestPlanBranchList getBranches()
           
 java.lang.String getPlanKey()
           
 RestStageList getStages()
           
 void setActions(RestPlanActionList actions)
           
 void setActive(java.lang.Boolean active)
           
 void setAverageBuildTimeInSeconds(java.lang.Double averageBuildTimeInSeconds)
           
 void setBranches(RestPlanBranchList branches)
           
 void setBuilding(java.lang.Boolean building)
           
 void setDescription(java.lang.String description)
           
 void setFavourite(java.lang.Boolean favourite)
           
 void setLink(com.atlassian.plugins.rest.common.Link link)
           
 void setPlanKey(java.lang.String planKey)
           
 void setPlanName(java.lang.String planName)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setProjectName(java.lang.String projectName)
           
 void setStages(RestStageList stages)
           
 void setVariableContext(RestVariableDefinitionContextList variableContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
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,
                boolean favourite,
                javax.ws.rs.core.UriInfo uriInfo,
                PlanService planService)
Method Detail

setProjectKey

public void setProjectKey(java.lang.String projectKey)

setProjectName

public void setProjectName(java.lang.String projectName)

getPlanKey

public java.lang.String getPlanKey()

setPlanKey

public void setPlanKey(java.lang.String planKey)

setPlanName

public void setPlanName(java.lang.String planName)

setFavourite

public void setFavourite(java.lang.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(java.lang.Double averageBuildTimeInSeconds)

setActive

public void setActive(java.lang.Boolean active)

setBuilding

public void setBuilding(java.lang.Boolean building)

setVariableContext

public void setVariableContext(RestVariableDefinitionContextList variableContext)

setDescription

public void setDescription(java.lang.String description)

expand

public void expand(java.util.Collection<org.acegisecurity.acls.Permission> actions)


Copyright © 2012 Atlassian. All Rights Reserved.