public class ActivityStatisticsImpl extends Object implements ActivityStatistics
Modifier and Type | Field and Description |
---|---|
protected int |
failedJobs |
protected String |
id |
protected List<IncidentStatistics> |
incidentStatistics |
protected int |
instances |
Constructor and Description |
---|
ActivityStatisticsImpl() |
Modifier and Type | Method and 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() |
protected String id
protected int instances
protected int failedJobs
protected List<IncidentStatistics> incidentStatistics
public String getId()
ActivityStatistics
getId
in interface ActivityStatistics
public void setId(String id)
public int getInstances()
ActivityStatistics
getInstances
in interface ActivityStatistics
public void setInstances(int instances)
public int getFailedJobs()
ActivityStatistics
getFailedJobs
in interface ActivityStatistics
public void setFailedJobs(int failedJobs)
public List<IncidentStatistics> getIncidentStatistics()
ActivityStatistics
getIncidentStatistics
in interface ActivityStatistics
public void setIncidentStatistics(List<IncidentStatistics> incidentStatistics)
Copyright © 2022. All rights reserved.