com.atlassian.bamboo.remoteapi.commands
Class GetLatestBuildCommand

java.lang.Object
  extended by com.atlassian.bamboo.remoteapi.commands.AbstractCommand
      extended by com.atlassian.bamboo.remoteapi.commands.GetLatestBuildCommand

public class GetLatestBuildCommand
extends AbstractCommand

This class uses the Bamboo rest api to obtain the latest build summary for a given build.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.remoteapi.commands.AbstractCommand
HTTP_STATUS_OK
 
Constructor Summary
GetLatestBuildCommand()
           
 
Method Summary
 BuildResults getLatestResults(java.lang.String serverUrl, java.lang.String authenticationToken, java.lang.String buildName)
          Uses the remote api to login to the bamboo server
 
Methods inherited from class com.atlassian.bamboo.remoteapi.commands.AbstractCommand
executePostMethod, extractTagData, getHttpClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetLatestBuildCommand

public GetLatestBuildCommand()
Method Detail

getLatestResults

public BuildResults getLatestResults(java.lang.String serverUrl,
                                     java.lang.String authenticationToken,
                                     java.lang.String buildName)
Uses the remote api to login to the bamboo server

Parameters:
serverUrl - The URL of the bamboo server
authenticationToken - The The session's authentication token


Copyright © 2011 Atlassian. All Rights Reserved.