public final class ShockCore extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
createMeasurement(core.tut.pori.users.UserIdentity userIdentity,
ShockMeasurementList list) |
static ShockHighlightList |
getHighlights(core.tut.pori.users.UserIdentity userIdentity,
int minMeasurements,
double range,
LocationLimits locationLimits,
core.tut.pori.http.parameters.DateIntervalParameter dateInterval,
int[] levelFilter,
core.tut.pori.http.parameters.Limits limits,
long[] userIdFilter) |
static ShockMeasurementList |
getMeasurements(core.tut.pori.users.UserIdentity userIdentity,
LocationLimits locationLimits,
core.tut.pori.http.parameters.DataGroups dataGroups,
core.tut.pori.http.parameters.DateIntervalParameter dateInterval,
int[] levelFilter,
core.tut.pori.http.parameters.Limits limits,
GroupCalculator.GroupMethod groupMethod,
java.lang.Integer groupRange,
long[] userIdFilter) |
public static void createMeasurement(core.tut.pori.users.UserIdentity userIdentity, ShockMeasurementList list) throws java.lang.IllegalArgumentException
userIdentity
- list
- java.lang.IllegalArgumentException
- on invalid datapublic static ShockMeasurementList getMeasurements(core.tut.pori.users.UserIdentity userIdentity, LocationLimits locationLimits, core.tut.pori.http.parameters.DataGroups dataGroups, core.tut.pori.http.parameters.DateIntervalParameter dateInterval, int[] levelFilter, core.tut.pori.http.parameters.Limits limits, GroupCalculator.GroupMethod groupMethod, java.lang.Integer groupRange, long[] userIdFilter)
userIdentity
- locationLimits
- dataGroups
- dateInterval
- timestamp intervallevelFilter
- limits
- groupMethod
- groupRange
- in metersuserIdFilter
- public static ShockHighlightList getHighlights(core.tut.pori.users.UserIdentity userIdentity, int minMeasurements, double range, LocationLimits locationLimits, core.tut.pori.http.parameters.DateIntervalParameter dateInterval, int[] levelFilter, core.tut.pori.http.parameters.Limits limits, long[] userIdFilter)
userIdentity
- minMeasurements
- the highlight group's minimum number of measurementsrange
- maximum range (in km) around a central point when calculating groupslocationLimits
- dateInterval
- timestamp intervallevelFilter
- limits
- userIdFilter
- Copyright © 2015-2018 Tampere University of Technology, Pori Department.