net.sf.lavalamp.site
Class BambooRestApi

java.lang.Object
  extended by net.sf.lavalamp.site.AbstractBuildSite
      extended by net.sf.lavalamp.site.BambooRestApi
All Implemented Interfaces:
BuildSite

public class BambooRestApi
extends AbstractBuildSite

Uses rest api available from Bamboo 2.3

Author:
stehal
See Also:
BambooRemoteApi

Field Summary
static String URL_LASTBUILD
           
 
Fields inherited from class net.sf.lavalamp.site.AbstractBuildSite
logger, url, urlGetter
 
Constructor Summary
BambooRestApi()
           
 
Method Summary
 org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()
           
 String getLastBuildUrl(Build build)
           
 void setCredentials(Console console)
           
 boolean wasLastBuildSuccessful(Build build)
           
 
Methods inherited from class net.sf.lavalamp.site.AbstractBuildSite
getUrlGetter, login, setProperties, setUrlGetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_LASTBUILD

public static final String URL_LASTBUILD
See Also:
Constant Field Values
Constructor Detail

BambooRestApi

public BambooRestApi()
Method Detail

setCredentials

public void setCredentials(Console console)

getLastBuildUrl

public String getLastBuildUrl(Build build)

wasLastBuildSuccessful

public boolean wasLastBuildSuccessful(Build build)
                               throws LoginRequiredException,
                                      IOException
Throws:
LoginRequiredException
IOException

getCredentials

public org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()


Copyright © 2010. All Rights Reserved.