Class ActivityStatisticsImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ActivityStatisticsImpl
-
- All Implemented Interfaces:
ActivityStatistics
public class ActivityStatisticsImpl extends Object implements ActivityStatistics
-
-
Field Summary
Fields Modifier and Type Field Description protected int
failedJobs
protected String
id
protected 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.String
getId()
The activity id.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(String id)
void
setIncidentStatistics(List<IncidentStatistics> incidentStatistics)
void
setInstances(int instances)
String
toString()
-
-
-
Field Detail
-
id
protected String id
-
instances
protected int instances
-
failedJobs
protected int failedJobs
-
incidentStatistics
protected List<IncidentStatistics> incidentStatistics
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ActivityStatistics
The activity id.- Specified by:
getId
in interfaceActivityStatistics
-
setId
public void setId(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 List<IncidentStatistics> getIncidentStatistics()
Description copied from interface:ActivityStatistics
Returns a list of incident statistics.- Specified by:
getIncidentStatistics
in interfaceActivityStatistics
-
setIncidentStatistics
public void setIncidentStatistics(List<IncidentStatistics> incidentStatistics)
-
-