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 longaverageprotected longmaximumprotected longminimum-
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 longgetAverage()Returns the average duration of all completed instances, which have been started in the given period.longgetMaximum()Returns the greatest duration of all completed instances, which have been started in the given period.longgetMinimum()Returns the smallest duration of all completed instances, which have been started in the given period.voidsetAverage(long average)voidsetMaximum(long maximum)voidsetMinimum(long minimum)java.lang.StringtoString()-
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:DurationReportResultReturns the smallest duration of all completed instances, which have been started in the given period.
- Specified by:
getMinimumin interfaceDurationReportResult
-
setMinimum
public void setMinimum(long minimum)
-
getMaximum
public long getMaximum()
Description copied from interface:DurationReportResultReturns the greatest duration of all completed instances, which have been started in the given period.
- Specified by:
getMaximumin interfaceDurationReportResult
-
setMaximum
public void setMaximum(long maximum)
-
getAverage
public long getAverage()
Description copied from interface:DurationReportResultReturns the average duration of all completed instances, which have been started in the given period.
- Specified by:
getAveragein interfaceDurationReportResult
-
setAverage
public void setAverage(long average)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-