public class JobsOverview extends Object implements InfoMessage
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_JOBS_CANCELLED |
static String |
FIELD_NAME_JOBS_FAILED |
static String |
FIELD_NAME_JOBS_FINISHED |
static String |
FIELD_NAME_JOBS_RUNNING |
Constructor and Description |
---|
JobsOverview(int numJobsRunningOrPending,
int numJobsFinished,
int numJobsCancelled,
int numJobsFailed) |
JobsOverview(JobsOverview first,
JobsOverview second) |
Modifier and Type | Method and Description |
---|---|
JobsOverview |
combine(JobsOverview jobsOverview)
Combines the given jobs overview with this.
|
static JobsOverview |
create(Collection<JobStatus> allJobsStatus) |
boolean |
equals(Object obj) |
int |
getNumJobsCancelled() |
int |
getNumJobsFailed() |
int |
getNumJobsFinished() |
int |
getNumJobsRunningOrPending() |
int |
hashCode() |
String |
toString() |
public static final String FIELD_NAME_JOBS_RUNNING
public static final String FIELD_NAME_JOBS_FINISHED
public static final String FIELD_NAME_JOBS_CANCELLED
public static final String FIELD_NAME_JOBS_FAILED
public JobsOverview(int numJobsRunningOrPending, int numJobsFinished, int numJobsCancelled, int numJobsFailed)
public JobsOverview(JobsOverview first, JobsOverview second)
public int getNumJobsRunningOrPending()
public int getNumJobsFinished()
public int getNumJobsCancelled()
public int getNumJobsFailed()
public JobsOverview combine(JobsOverview jobsOverview)
jobsOverview
- to combine with thispublic static JobsOverview create(Collection<JobStatus> allJobsStatus)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.