net.sf.lavalamp.site
Class BambooRemoteApi

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

Deprecated.

@Deprecated
public class BambooRemoteApi
extends AbstractBuildSite

Uses the remote api (superceded by rest api in Bamboo 2.3 and deprecated in 2.5)

Author:
stehal
See Also:
BambooRestApi

Field Summary
static String URL_LASTBUILD
          Deprecated.  
static String URL_LOGIN
          Deprecated.  
 
Fields inherited from class net.sf.lavalamp.site.AbstractBuildSite
logger, url, urlGetter
 
Constructor Summary
BambooRemoteApi()
          Deprecated.  
 
Method Summary
protected  String findAuth(String response)
          Deprecated.  
 String getAuthenticationKey()
          Deprecated.  
 String getLastBuildUrl(Build build)
          Deprecated.  
protected  String getLoginUrl(String userid)
          Deprecated.  
 void login()
          Deprecated. Throws a RuntimeException when the login fails
 void setCredentials(Console console)
          Deprecated.  
 boolean wasBuildSuccessful(String response)
          Deprecated.  
 boolean wasLastBuildSuccessful(Build build)
          Deprecated.  
 
Methods inherited from class net.sf.lavalamp.site.AbstractBuildSite
getUrlGetter, setProperties, setUrlGetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_LOGIN

public static final String URL_LOGIN
Deprecated. 
See Also:
Constant Field Values

URL_LASTBUILD

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

BambooRemoteApi

public BambooRemoteApi()
Deprecated. 
Method Detail

setCredentials

public void setCredentials(Console console)
Deprecated. 

login

public void login()
           throws IOException,
                  LoginRequiredException
Deprecated. 
Description copied from interface: BuildSite
Throws a RuntimeException when the login fails

Specified by:
login in interface BuildSite
Overrides:
login in class AbstractBuildSite
Throws:
IOException
LoginRequiredException

findAuth

protected String findAuth(String response)
Deprecated. 

getLoginUrl

protected String getLoginUrl(String userid)
Deprecated. 

getLastBuildUrl

public String getLastBuildUrl(Build build)
Deprecated. 

wasLastBuildSuccessful

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

getAuthenticationKey

public String getAuthenticationKey()
Deprecated. 

wasBuildSuccessful

public boolean wasBuildSuccessful(String response)
                           throws LoginRequiredException
Deprecated. 
Throws:
LoginRequiredException


Copyright © 2010. All Rights Reserved.