Class RestPlan
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.model.RestPlan
-
public class RestPlan extends Object
Trimmed down version of RestPlan from bamboo-rest plugin
-
-
Constructor Summary
Constructors Constructor Description RestPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTrigger(RestTrigger trigger)
String
getDescription()
List<String>
getLabels()
@Nullable Integer
getMaxConcurrentBuilds()
String
getPlanKey()
String
getPlanName()
String
getProjectKey()
String
getProjectName()
RestRepositoryConfig
getRepository()
RestStageList
getStagesList()
List<RestTrigger>
getTriggers()
boolean
isDisabled()
boolean
isPublicPlanAccess()
void
setDescription(String description)
void
setDisabled(boolean disabled)
void
setLabels(List<String> labels)
void
setMaxConcurrentBuilds(@Nullable Integer maxConcurrentBuilds)
void
setPlanKey(String planKey)
void
setPlanName(String planName)
void
setProjectKey(String projectKey)
void
setProjectName(String projectName)
void
setPublicPlanAccess(boolean publicPlanAccess)
void
setRepository(RestRepositoryConfig repository)
void
setStagesList(RestStageList stagesList)
void
setTriggers(List<RestTrigger> triggers)
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PLAN_KEY
public static final String PLAN_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProjectKey
public String getProjectKey()
-
setPlanKey
public void setPlanKey(String planKey)
-
setPlanName
public void setPlanName(String planName)
-
setProjectKey
public void setProjectKey(String projectKey)
-
setProjectName
public void setProjectName(String projectName)
-
getProjectName
public String getProjectName()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getPlanKey
public String getPlanKey()
-
getPlanName
public String getPlanName()
-
setStagesList
public void setStagesList(RestStageList stagesList)
-
getStagesList
public RestStageList getStagesList()
-
setDisabled
public void setDisabled(boolean disabled)
-
isDisabled
public boolean isDisabled()
-
getRepository
public RestRepositoryConfig getRepository()
-
setRepository
public void setRepository(RestRepositoryConfig repository)
-
getTriggers
public List<RestTrigger> getTriggers()
-
setTriggers
public void setTriggers(List<RestTrigger> triggers)
-
addTrigger
public void addTrigger(RestTrigger trigger)
-
getMaxConcurrentBuilds
@Nullable public @Nullable Integer getMaxConcurrentBuilds()
-
setMaxConcurrentBuilds
public void setMaxConcurrentBuilds(@Nullable @Nullable Integer maxConcurrentBuilds)
-
isPublicPlanAccess
public boolean isPublicPlanAccess()
-
setPublicPlanAccess
public void setPublicPlanAccess(boolean publicPlanAccess)
-
-