public class StatusSummary extends 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(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() |
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
.Status
public StatusSummary toProto()
Copyright © 2023. All Rights Reserved.