org.hackystat.tickertape.datasource.hackystat
Class HackystatProject

java.lang.Object
  extended by org.hackystat.tickertape.datasource.hackystat.HackystatProject

public class HackystatProject
extends java.lang.Object

A datasource corresponding to Hackystat services (sensorbase and dailyprojectdata).

Author:
Philip Johnson

Constructor Summary
HackystatProject(java.lang.String sensorbaseHost, java.lang.String dailyprojectdataHost, java.lang.String user, java.lang.String password, java.lang.String projectName, java.lang.String projectOwner, int interval)
          Creates a new Hackystat instance, initializing the state.
 
Method Summary
 java.lang.String getInfo()
          Contacts Hackystat services, gets data, and returns a summary as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HackystatProject

public HackystatProject(java.lang.String sensorbaseHost,
                        java.lang.String dailyprojectdataHost,
                        java.lang.String user,
                        java.lang.String password,
                        java.lang.String projectName,
                        java.lang.String projectOwner,
                        int interval)
Creates a new Hackystat instance, initializing the state.

Parameters:
sensorbaseHost - The sensorbase host.
dailyprojectdataHost - The dpd host.
user - The sensorbase user.
password - The user's password.
projectName - A project for which this user has access.
projectOwner - The project's owner.
interval - The interval in minutes for which we should ask for data.
Method Detail

getInfo

public java.lang.String getInfo()
Contacts Hackystat services, gets data, and returns a summary as a string.

Returns:
The summary of Hackystat activity.