Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.remoteapi.commands
Class GetLatestBuildCommand

    java.lang.Object
      com.atlassian.bamboo.remoteapi.commands.AbstractCommand
          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(String serverUrl, String authenticationToken, 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(String serverUrl,
                                         String authenticationToken,
                                         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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.