org.camunda.bpm.engine.impl.persistence.entity
Class DurationReportResultEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.ReportResultEntity
      extended by 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
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
DurationReportResultEntity()
           
 
Method Summary
 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)
           
 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
 

Field Detail

minimum

protected long minimum

maximum

protected long maximum

average

protected long average
Constructor Detail

DurationReportResultEntity

public DurationReportResultEntity()
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 interface DurationReportResult

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 interface DurationReportResult

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 interface DurationReportResult

setAverage

public void setAverage(long average)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.