com.atlassian.bamboo.testutils.backdoor
Class BuildResultsControl

java.lang.Object
  extended by com.atlassian.bamboo.testutils.backdoor.BackdoorControl<BuildResultsControl>
      extended by com.atlassian.bamboo.testutils.backdoor.BuildResultsControl

public class BuildResultsControl
extends BackdoorControl<BuildResultsControl>


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
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
 
Constructor Summary
BuildResultsControl(BambooEnvironmentData environmentData)
           
 
Method Summary
 com.jayway.restassured.response.Response getBuildResultAsResponse(PlanKey planKey, int buildNumber)
          Get build result via REST
 Map<String,String> getMetadata(PlanResultKey planResultKey)
           
 
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
client, createResource, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, resourceRoot, resourceRoot, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildResultsControl

public BuildResultsControl(@NotNull
                           BambooEnvironmentData environmentData)
Method Detail

getMetadata

@NotNull
public Map<String,String> getMetadata(@NotNull
                                              PlanResultKey planResultKey)

getBuildResultAsResponse

public com.jayway.restassured.response.Response getBuildResultAsResponse(@NotNull
                                                                         PlanKey planKey,
                                                                         int buildNumber)
Get build result via REST

Parameters:
planKey - plan key
buildNumber - build number


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.