net.sf.lavalamp.site
Class AbstractBuildSite

java.lang.Object
  extended by net.sf.lavalamp.site.AbstractBuildSite
All Implemented Interfaces:
BuildSite
Direct Known Subclasses:
BambooRemoteApi, BambooRestApi

public abstract class AbstractBuildSite
extends Object
implements BuildSite


Field Summary
protected  LavaLogger logger
           
protected  String url
           
protected  Getter urlGetter
           
 
Constructor Summary
AbstractBuildSite()
           
 
Method Summary
 Getter getUrlGetter()
           
 void login()
          Throws a RuntimeException when the login fails
 void setProperties(SiteProperties serverProperties)
           
 void setUrlGetter(Getter urlGetter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.lavalamp.site.BuildSite
getLastBuildUrl, setCredentials, wasLastBuildSuccessful
 

Field Detail

url

protected String url

urlGetter

protected Getter urlGetter

logger

protected LavaLogger logger
Constructor Detail

AbstractBuildSite

public AbstractBuildSite()
Method Detail

login

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

Specified by:
login in interface BuildSite
Throws:
LoginRequiredException
IOException

setUrlGetter

public void setUrlGetter(Getter urlGetter)
Specified by:
setUrlGetter in interface BuildSite

getUrlGetter

public Getter getUrlGetter()
Specified by:
getUrlGetter in interface BuildSite

setProperties

public void setProperties(SiteProperties serverProperties)
Specified by:
setProperties in interface BuildSite


Copyright © 2010. All Rights Reserved.