org.camunda.bpm.engine.impl
Class AbstractHistoricProcessInstanceReport
java.lang.Object
org.camunda.bpm.engine.impl.AbstractHistoricProcessInstanceReport
- All Implemented Interfaces:
- Serializable, Command<Object>, Report
- Direct Known Subclasses:
- HistoricProcessInstanceHistoricProcessInstanceReportImpl
public abstract class AbstractHistoricProcessInstanceReport
- extends Object
- implements Command<Object>, Report, Serializable
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandExecutor
protected transient CommandExecutor commandExecutor
reportType
protected AbstractHistoricProcessInstanceReport.ReportType reportType
reportPeriodUnit
protected PeriodUnit reportPeriodUnit
tenantCheck
protected TenantCheck tenantCheck
AbstractHistoricProcessInstanceReport
protected AbstractHistoricProcessInstanceReport()
AbstractHistoricProcessInstanceReport
protected AbstractHistoricProcessInstanceReport(CommandExecutor commandExecutor)
execute
public Object execute(CommandContext commandContext)
- Specified by:
execute in interface Command<Object>
duration
public List<DurationReportResult> duration(PeriodUnit periodUnit)
- Description copied from interface:
Report
Executes the duration report query and returns a list of
DurationReportResults.
Be aware that the resulting report must be interpreted by the
caller itself.
- Specified by:
duration in interface Report
- Parameters:
periodUnit - A period unit to define
the granularity of the report.
- Returns:
- a list of
DurationReportResults
executeDuration
public List<DurationReportResult> executeDuration(CommandContext commandContext)
executeDurationReport
public abstract List<DurationReportResult> executeDurationReport(CommandContext commandContext)
hasExcludingConditions
protected boolean hasExcludingConditions()
- Whether or not the report query has excluding conditions. If the query has excluding conditions,
(e.g. started before and after are excluding), the SQL query is avoided and a default result is
returned. The returned result is the same as if the SQL was executed and there were no entries.
- Returns:
true if the report query does have excluding conditions, false otherwise
getCommandExecutor
public CommandExecutor getCommandExecutor()
setCommandExecutor
public AbstractHistoricProcessInstanceReport setCommandExecutor(CommandExecutor commandExecutor)
getReportPeriodUnit
public PeriodUnit getReportPeriodUnit()
getReportPeriodUnitName
public String getReportPeriodUnitName()
getReportType
public AbstractHistoricProcessInstanceReport.ReportType getReportType()
getReportTypeName
public String getReportTypeName()
getTenantCheck
public TenantCheck getTenantCheck()
Copyright © 2016 camunda services GmbH. All rights reserved.