|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.testutils.backdoor.BackdoorControl<PlansControl> com.atlassian.bamboo.testutils.backdoor.PlansControl
public class PlansControl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
BackdoorControl.JsonMediaTypeFilter |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
API_REST_PATH, DEFAULT_REST_PATH, rootPath |
Constructor Summary | |
---|---|
PlansControl(BambooEnvironmentData environmentData)
|
Method Summary | |
---|---|
RestPlan |
clonePlan(PlanKey planKeyToClone,
PlanKey newPlanKey)
Clone plan |
void |
deleteAllPlans()
Delete all plans |
void |
deletePlan(PlanKey planKey)
Delete plan |
void |
enablePlan(PlanKey planKey)
Enable plan |
RestBranches |
getAllBranches(PlanKey key)
Get all branches for chain |
RestPlanBranch |
getBranchByName(PlanKey key,
java.lang.String branchName)
Get branches with given name for chain |
Result |
getBuildResult(PlanKey planKey,
int buildNumber)
Get build result |
void |
triggerBuild(PlanKey planKey)
Trigger build |
com.jayway.restassured.path.json.JsonPath |
waitForCompletedBuild(PlanKey planKey,
int buildNumber)
|
com.jayway.restassured.path.json.JsonPath |
waitForCompletedBuild(PlanResultKey key)
|
void |
waitForSuccessfulBuild(PlanKey planKey,
int buildNumber)
|
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl |
---|
client, createResource, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, resourceRoot, resourceRoot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlansControl(@NotNull BambooEnvironmentData environmentData)
Method Detail |
---|
public void deletePlan(@NotNull PlanKey planKey)
planKey
- key of a Planpublic void enablePlan(@NotNull PlanKey planKey)
planKey
- key of a Planpublic void deleteAllPlans()
public RestPlanBranch getBranchByName(PlanKey key, java.lang.String branchName) throws java.lang.Exception
key
- branchName
-
java.lang.Exception
public RestBranches getAllBranches(PlanKey key) throws java.lang.Exception
key
-
java.lang.Exception
public RestPlan clonePlan(PlanKey planKeyToClone, PlanKey newPlanKey) throws java.lang.Exception
planKeyToClone
- newPlanKey
-
java.lang.Exception
public void triggerBuild(PlanKey planKey)
planKey
- public Result getBuildResult(PlanKey planKey, int buildNumber) throws java.lang.Exception
planKey
- buildNumber
-
java.lang.Exception
public void waitForSuccessfulBuild(PlanKey planKey, int buildNumber)
public com.jayway.restassured.path.json.JsonPath waitForCompletedBuild(PlanResultKey key)
public com.jayway.restassured.path.json.JsonPath waitForCompletedBuild(PlanKey planKey, int buildNumber)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |