org.hackystat.telemetry.analyzer.reducer.impl
Class MemberBuildReducer
java.lang.Object
org.hackystat.telemetry.analyzer.reducer.impl.MemberBuildReducer
- All Implemented Interfaces:
- TelemetryReducer
public class MemberBuildReducer
- extends java.lang.Object
- implements TelemetryReducer
Returns a set of streams providing Build data for each user.
Accepts the following options in the following order.
- Result: One of Success, Failure, or *, indicating whether the count is
just of successful builds, failed builds, or all builds. Default is "*".
- Type: A string to restrict the counts to those builds with a "Type" property
matching this string, or "*" to indicate all builds regardless of Type.
Default is "*".
- isCumulative: True or false. Default is false.
- Author:
- Philip Johnson
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemberBuildReducer
public MemberBuildReducer()
compute
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
- Computes and returns the required telemetry streams object.
- Specified by:
compute
in interface TelemetryReducer
- Parameters:
project
- The project.dpdClient
- The DPD Client.interval
- The interval.options
- The optional parameters.
- Returns:
- Telemetry stream collection.
- Throws:
TelemetryReducerException
- If there is any error.