hu.midori.kosmos.server.cc
Class CcServiceImpl

java.lang.Object
  extended by hu.midori.kosmos.server.AbstractKosmosService
      extended by hu.midori.kosmos.server.cc.CcServiceImpl
All Implemented Interfaces:
CcService, TimestampedService, org.springframework.context.ApplicationContextAware

public class CcServiceImpl
extends AbstractKosmosService
implements CcService

Implementation of the CruiseControl service.

Downloads the log XML embedded in the CC results webpage and analyzes it using running XQueryes.

Version:
$Id$
Author:
Aron Gombas

Field Summary
 
Fields inherited from class hu.midori.kosmos.server.AbstractKosmosService
applicationContext
 
Constructor Summary
CcServiceImpl()
           
 
Method Summary
 java.util.List<CcProject> getProjects(java.lang.String url)
          Returns the project with the CC results page at the given URL.
 
Methods inherited from class hu.midori.kosmos.server.AbstractKosmosService
beginStoreSession, endStoreSession, getResourceString, getTimestamp, setApplicationContext, setStore, storeChart, storeFile, trimList, updateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hu.midori.kosmos.protocol.TimestampedService
getTimestamp
 

Constructor Detail

CcServiceImpl

public CcServiceImpl()
Method Detail

getProjects

public java.util.List<CcProject> getProjects(java.lang.String url)
Description copied from interface: CcService
Returns the project with the CC results page at the given URL.

Specified by:
getProjects in interface CcService
Parameters:
url - points to a CC results page (eg. http://cruisecontrol.jboss.com/cc/buildresults/jbpm.3).
Returns:
a list with a single item.