Class ActivityStatisticsImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ActivityStatisticsImpl
-
- All Implemented Interfaces:
ActivityStatistics
public class ActivityStatisticsImpl extends java.lang.Object implements ActivityStatistics
-
-
Field Summary
Fields Modifier and Type Field Description protected int
failedJobs
protected java.lang.String
id
protected java.util.List<IncidentStatistics>
incidentStatistics
protected int
instances
-
Constructor Summary
Constructors Constructor Description ActivityStatisticsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFailedJobs()
The number of all failed jobs for the activity.java.lang.String
getId()
The activity id.java.util.List<IncidentStatistics>
getIncidentStatistics()
Returns a list of incident statistics.int
getInstances()
The number of all instances of the activity.void
setFailedJobs(int failedJobs)
void
setId(java.lang.String id)
void
setIncidentStatistics(java.util.List<IncidentStatistics> incidentStatistics)
void
setInstances(int instances)
java.lang.String
toString()
-
-
-
Field Detail
-
id
protected java.lang.String id
-
instances
protected int instances
-
failedJobs
protected int failedJobs
-
incidentStatistics
protected java.util.List<IncidentStatistics> incidentStatistics
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:ActivityStatistics
The activity id.- Specified by:
getId
in interfaceActivityStatistics
-
setId
public void setId(java.lang.String id)
-
getInstances
public int getInstances()
Description copied from interface:ActivityStatistics
The number of all instances of the activity.- Specified by:
getInstances
in interfaceActivityStatistics
-
setInstances
public void setInstances(int instances)
-
getFailedJobs
public int getFailedJobs()
Description copied from interface:ActivityStatistics
The number of all failed jobs for the activity.- Specified by:
getFailedJobs
in interfaceActivityStatistics
-
setFailedJobs
public void setFailedJobs(int failedJobs)
-
getIncidentStatistics
public java.util.List<IncidentStatistics> getIncidentStatistics()
Description copied from interface:ActivityStatistics
Returns a list of incident statistics.- Specified by:
getIncidentStatistics
in interfaceActivityStatistics
-
setIncidentStatistics
public void setIncidentStatistics(java.util.List<IncidentStatistics> incidentStatistics)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-