public class HostRoleCommandStatusSummaryDTO extends Object
Constructor and Description |
---|
HostRoleCommandStatusSummaryDTO(Number skippable,
Number minStartTime,
Number maxEndTime,
Number stageId,
Number aborted,
Number completed,
Number failed,
Number holding,
Number holdingFailed,
Number holdingTimedout,
Number inProgress,
Number pending,
Number queued,
Number timedout,
Number skippedFailed)
Constructor invoked by JPA.
|
public HostRoleCommandStatusSummaryDTO(Number skippable, Number minStartTime, Number maxEndTime, Number stageId, Number aborted, Number completed, Number failed, Number holding, Number holdingFailed, Number holdingTimedout, Number inProgress, Number pending, Number queued, Number timedout, Number skippedFailed)
HostRoleCommandDAO.findAggregateCounts(Long)
}public Map<HostRoleStatus,Integer> getCounts()
public List<HostRoleStatus> getTaskStatuses()
public int getTaskTotal()
public boolean isStageSkippable()
true
if the stage is skippablepublic Long getStartTime()
public Long getEndTime()
public static HostRoleCommandStatusSummaryDTO create()
public HostRoleCommandStatusSummaryDTO completed(int count)
HostRoleStatus.COMPLETED
taskspublic HostRoleCommandStatusSummaryDTO failed(int count)
HostRoleStatus.FAILED
taskspublic HostRoleCommandStatusSummaryDTO aborted(int count)
HostRoleStatus.ABORTED
taskspublic HostRoleCommandStatusSummaryDTO timedout(int count)
HostRoleStatus.TIMEDOUT
taskspublic HostRoleCommandStatusSummaryDTO inProgress(int count)
HostRoleStatus.IN_PROGRESS
taskspublic HostRoleCommandStatusSummaryDTO pending(int count)
HostRoleStatus.PENDING
taskspublic HostRoleCommandStatusSummaryDTO queued(int count)
HostRoleStatus.QUEUED
taskspublic HostRoleCommandStatusSummaryDTO skippedFailed(int count)
HostRoleStatus.SKIPPED_FAILED
tasksCopyright © 2022 Apache Software Foundation. All rights reserved.