Package com.adobe.cq.testing.client.jobs
Class JobsStatistics
- java.lang.Object
-
- com.adobe.cq.testing.client.jobs.JobsStatistics
-
public class JobsStatistics extends Object
POJO that describes active jobs statistics and topic statistics in sling
-
-
Constructor Summary
Constructors Constructor Description JobsStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJobQueueStat(JobQueueStat stats)
Add a job queue statistics entry tot his statistics containervoid
addTopicStat(TopicStat stats)
Add a topic statistics element to this statistics containerList<JobQueueStat>
getJobQueues()
TopicStat
getTopic(String topic)
Get a specific topic statisticList<TopicStat>
getTopics()
void
setJobQueues(List<JobQueueStat> jobQueues)
void
setTopics(List<TopicStat> topics)
-
-
-
Field Detail
-
jobQueues
public List<JobQueueStat> jobQueues
-
-
Method Detail
-
getJobQueues
public List<JobQueueStat> getJobQueues()
-
setJobQueues
public void setJobQueues(List<JobQueueStat> jobQueues)
-
getTopic
public TopicStat getTopic(@Nonnull String topic)
Get a specific topic statistic- Parameters:
topic
- string representation of the job topic- Returns:
- null if topic statistic is not found
-
addJobQueueStat
public void addJobQueueStat(JobQueueStat stats)
Add a job queue statistics entry tot his statistics container- Parameters:
stats
- statistics
-
addTopicStat
public void addTopicStat(TopicStat stats)
Add a topic statistics element to this statistics container- Parameters:
stats
- statistics
-
-