public class StatusSummary
extends java.lang.Object
| Constructor and Description |
|---|
StatusSummary(Status status,
long count)
Constructs a new instance of
StatusSummary
from a Status and number of jobs with that status. |
StatusSummary(StatusSummary statusSummary)
Constructs a new instance of
StatusSummary from a proto object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getCount()
Returns the count of the number of jobs associated with
Status. |
Status |
getStatus()
Returns the
Status this object represents. |
int |
hashCode() |
StatusSummary |
toProto() |
java.lang.String |
toString() |
public StatusSummary(Status status, long count)
StatusSummary
from a Status and number of jobs with that status.status - possible Status of a jobcount - number of jobs with the particular statuspublic StatusSummary(StatusSummary statusSummary)
StatusSummary from a proto object.statusSummary - the proto objectpublic long getCount()
Status.Statuspublic StatusSummary toProto()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2022. All Rights Reserved.