Class DurationReportResultEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ReportResultEntity
-
- org.camunda.bpm.engine.impl.persistence.entity.DurationReportResultEntity
-
- All Implemented Interfaces:
DurationReportResult
,ReportResult
public class DurationReportResultEntity extends ReportResultEntity implements DurationReportResult
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected long
average
protected long
maximum
protected long
minimum
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.ReportResultEntity
period, periodUnit
-
-
Constructor Summary
Constructors Constructor Description DurationReportResultEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAverage()
Returns the average duration of all completed instances, which have been started in the given period.long
getMaximum()
Returns the greatest duration of all completed instances, which have been started in the given period.long
getMinimum()
Returns the smallest duration of all completed instances, which have been started in the given period.void
setAverage(long average)
void
setMaximum(long maximum)
void
setMinimum(long minimum)
java.lang.String
toString()
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.entity.ReportResultEntity
getPeriod, getPeriodUnit, setPeriod, setPeriodUnit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.history.ReportResult
getPeriod, getPeriodUnit
-
-
-
-
Method Detail
-
getMinimum
public long getMinimum()
Description copied from interface:DurationReportResult
Returns the smallest duration of all completed instances, which have been started in the given period.
- Specified by:
getMinimum
in interfaceDurationReportResult
-
setMinimum
public void setMinimum(long minimum)
-
getMaximum
public long getMaximum()
Description copied from interface:DurationReportResult
Returns the greatest duration of all completed instances, which have been started in the given period.
- Specified by:
getMaximum
in interfaceDurationReportResult
-
setMaximum
public void setMaximum(long maximum)
-
getAverage
public long getAverage()
Description copied from interface:DurationReportResult
Returns the average duration of all completed instances, which have been started in the given period.
- Specified by:
getAverage
in interfaceDurationReportResult
-
setAverage
public void setAverage(long average)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-