Class HistoricActivityStatisticsImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.HistoricActivityStatisticsImpl
-
- All Implemented Interfaces:
HistoricActivityStatistics
public class HistoricActivityStatisticsImpl extends java.lang.Object implements HistoricActivityStatistics
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected long
canceled
protected long
completeScope
protected long
deletedIncidents
protected long
finished
protected java.lang.String
id
protected long
instances
protected long
openIncidents
protected long
resolvedIncidents
-
Constructor Summary
Constructors Constructor Description HistoricActivityStatisticsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCanceled()
The number of all canceled instances of the activity.long
getCompleteScope()
The number of all instances, which complete a scope (ie.long
getDeletedIncidents()
The number of deleted incidents of the activity.long
getFinished()
The number of all finished instances of the activity.java.lang.String
getId()
The activity id.long
getInstances()
The number of all running instances of the activity.long
getOpenIncidents()
The number of open incidents of the activity.long
getResolvedIncidents()
The number of resolved incidents of the activity.void
setCanceled(long canceled)
void
setCompleteScope(long completeScope)
void
setDeletedIncidents(long closedIncidents)
void
setFinished(long finished)
void
setId(java.lang.String id)
void
setInstances(long instances)
void
setOpenIncidents(long openIncidents)
void
setResolvedIncidents(long resolvedIncidents)
-
-
-
Field Detail
-
id
protected java.lang.String id
-
instances
protected long instances
-
finished
protected long finished
-
canceled
protected long canceled
-
completeScope
protected long completeScope
-
openIncidents
protected long openIncidents
-
resolvedIncidents
protected long resolvedIncidents
-
deletedIncidents
protected long deletedIncidents
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:HistoricActivityStatistics
The activity id.- Specified by:
getId
in interfaceHistoricActivityStatistics
-
setId
public void setId(java.lang.String id)
-
getInstances
public long getInstances()
Description copied from interface:HistoricActivityStatistics
The number of all running instances of the activity.- Specified by:
getInstances
in interfaceHistoricActivityStatistics
-
setInstances
public void setInstances(long instances)
-
getFinished
public long getFinished()
Description copied from interface:HistoricActivityStatistics
The number of all finished instances of the activity.- Specified by:
getFinished
in interfaceHistoricActivityStatistics
-
setFinished
public void setFinished(long finished)
-
getCanceled
public long getCanceled()
Description copied from interface:HistoricActivityStatistics
The number of all canceled instances of the activity.- Specified by:
getCanceled
in interfaceHistoricActivityStatistics
-
setCanceled
public void setCanceled(long canceled)
-
getCompleteScope
public long getCompleteScope()
Description copied from interface:HistoricActivityStatistics
The number of all instances, which complete a scope (ie. in bpmn manner: an activity which consumed a token and did not produced a new one), of the activity.- Specified by:
getCompleteScope
in interfaceHistoricActivityStatistics
-
setCompleteScope
public void setCompleteScope(long completeScope)
-
getOpenIncidents
public long getOpenIncidents()
Description copied from interface:HistoricActivityStatistics
The number of open incidents of the activity.- Specified by:
getOpenIncidents
in interfaceHistoricActivityStatistics
-
setOpenIncidents
public void setOpenIncidents(long openIncidents)
-
getResolvedIncidents
public long getResolvedIncidents()
Description copied from interface:HistoricActivityStatistics
The number of resolved incidents of the activity.- Specified by:
getResolvedIncidents
in interfaceHistoricActivityStatistics
-
setResolvedIncidents
public void setResolvedIncidents(long resolvedIncidents)
-
getDeletedIncidents
public long getDeletedIncidents()
Description copied from interface:HistoricActivityStatistics
The number of deleted incidents of the activity.- Specified by:
getDeletedIncidents
in interfaceHistoricActivityStatistics
-
setDeletedIncidents
public void setDeletedIncidents(long closedIncidents)
-
-