|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.reducer.impl.CouplingReducer
public class CouplingReducer
Returns a single stream providing a Coupling value.
Options:
Nested Class Summary | |
---|---|
static class |
CouplingReducer.Coupling
Possible mode values. |
static class |
CouplingReducer.Mode
Possible mode values. |
Constructor Summary | |
---|---|
CouplingReducer()
|
Method Summary | |
---|---|
TelemetryStreamCollection |
compute(org.hackystat.sensorbase.resource.projects.jaxb.Project project,
org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient,
org.hackystat.utilities.time.interval.Interval interval,
java.lang.String[] options)
Computes and returns the required telemetry streams object. |
(package private) java.lang.Double |
getData(org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient,
org.hackystat.sensorbase.resource.projects.jaxb.Project project,
org.hackystat.utilities.time.period.Day startDay,
org.hackystat.utilities.time.period.Day endDay,
CouplingReducer.Coupling coupling,
CouplingReducer.Mode mode,
java.lang.String type,
int threshold,
java.lang.String tool)
Returns a Coupling value for the specified time interval, or null if no SensorData. |
(package private) TelemetryStream |
getStream(org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient,
org.hackystat.sensorbase.resource.projects.jaxb.Project project,
org.hackystat.utilities.time.interval.Interval interval,
CouplingReducer.Coupling coupling,
CouplingReducer.Mode mode,
java.lang.String type,
int threshold,
java.lang.String tool,
java.lang.Object streamTagValue)
Gets the telemetry stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CouplingReducer()
Method Detail |
---|
public TelemetryStreamCollection compute(org.hackystat.sensorbase.resource.projects.jaxb.Project project, org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient, org.hackystat.utilities.time.interval.Interval interval, java.lang.String[] options) throws TelemetryReducerException
compute
in interface TelemetryReducer
project
- The project.dpdClient
- The DPD Client.interval
- The interval.options
- The optional parameters.
TelemetryReducerException
- If there is any error.TelemetryStream getStream(org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient, org.hackystat.sensorbase.resource.projects.jaxb.Project project, org.hackystat.utilities.time.interval.Interval interval, CouplingReducer.Coupling coupling, CouplingReducer.Mode mode, java.lang.String type, int threshold, java.lang.String tool, java.lang.Object streamTagValue) throws java.lang.Exception
dpdClient
- The DailyProjectData client we will contact for the data.project
- The project.interval
- The interval.coupling
- The coupling.mode
- The mode.type
- The type.threshold
- The threshold (if mode is TOTALABOVETHRESHOLD).tool
- The tool whose sensor data will be used.streamTagValue
- The tag for the generated telemetry stream.
java.lang.Exception
- If there is any error.java.lang.Double getData(org.hackystat.dailyprojectdata.client.DailyProjectDataClient dpdClient, org.hackystat.sensorbase.resource.projects.jaxb.Project project, org.hackystat.utilities.time.period.Day startDay, org.hackystat.utilities.time.period.Day endDay, CouplingReducer.Coupling coupling, CouplingReducer.Mode mode, java.lang.String type, int threshold, java.lang.String tool) throws TelemetryReducerException
dpdClient
- The DailyProjectData client we will use to get this data.project
- The project.startDay
- The start day (inclusive).endDay
- The end day (inclusive).coupling
- The coupling.mode
- The mode.type
- The type.threshold
- The threshold, if mode is TOTALINSTANCESABOVETHRESHOLD.tool
- The tool whose sensor data will be used.
TelemetryReducerException
- If anything goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |