org.camunda.bpm.engine.history
Interface HistoricProcessInstanceReport

All Superinterfaces:
Report
All Known Implementing Classes:
HistoricProcessInstanceHistoricProcessInstanceReportImpl

public interface HistoricProcessInstanceReport
extends Report

Defines a report query for HistoricProcessInstances.

Author:
Roman Smirnov

Method Summary
 HistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
          Only takes historic process instances into account for the given process definition ids.
 HistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
          Only takes historic process instances into account for the given process definition keys.
 HistoricProcessInstanceReport startedAfter(Date startedAfter)
          Only takes historic process instances into account that were started after the given date.
 HistoricProcessInstanceReport startedBefore(Date startedBefore)
          Only takes historic process instances into account that were started before the given date.
 
Methods inherited from interface org.camunda.bpm.engine.query.Report
duration
 

Method Detail

startedBefore

HistoricProcessInstanceReport startedBefore(Date startedBefore)
Only takes historic process instances into account that were started before the given date.

Throws:
NotValidException - if the given started before date is null

startedAfter

HistoricProcessInstanceReport startedAfter(Date startedAfter)
Only takes historic process instances into account that were started after the given date.

Throws:
NotValidException - if the given started after date is null

processDefinitionIdIn

HistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
Only takes historic process instances into account for the given process definition ids.

Throws:
NotValidException - if one of the given ids is null

processDefinitionKeyIn

HistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
Only takes historic process instances into account for the given process definition keys.

Throws:
NotValidException - if one of the given ids is null


Copyright © 2016 camunda services GmbH. All rights reserved.