public class TestThreadStateRenderer extends Object implements MultiStateRenderer
Constructor and Description |
---|
TestThreadStateRenderer(Ansi ansi,
java.util.function.Function<Long,String> formatTimeFunction,
long currentTimeMs,
int outputMaxColumns,
Map<Long,Optional<? extends TestSummaryEvent>> testSummariesByThread,
Map<Long,Optional<? extends TestStatusMessageEvent>> testStatusMessagesByThread,
Map<Long,Optional<? extends LeafEvent>> runningStepsByThread,
BuildRuleThreadTracker buildRuleThreadTracker) |
Modifier and Type | Method and Description |
---|---|
String |
getExecutorCollectionLabel() |
int |
getExecutorCount() |
com.google.common.collect.ImmutableList<Long> |
getSortedIds(boolean sortByTime) |
String |
renderShortStatus(long threadId) |
String |
renderStatusLine(long threadID) |
public TestThreadStateRenderer(Ansi ansi, java.util.function.Function<Long,String> formatTimeFunction, long currentTimeMs, int outputMaxColumns, Map<Long,Optional<? extends TestSummaryEvent>> testSummariesByThread, Map<Long,Optional<? extends TestStatusMessageEvent>> testStatusMessagesByThread, Map<Long,Optional<? extends LeafEvent>> runningStepsByThread, BuildRuleThreadTracker buildRuleThreadTracker)
public String getExecutorCollectionLabel()
getExecutorCollectionLabel
in interface MultiStateRenderer
public int getExecutorCount()
getExecutorCount
in interface MultiStateRenderer
public com.google.common.collect.ImmutableList<Long> getSortedIds(boolean sortByTime)
getSortedIds
in interface MultiStateRenderer
public String renderStatusLine(long threadID)
renderStatusLine
in interface MultiStateRenderer
public String renderShortStatus(long threadId)
renderShortStatus
in interface MultiStateRenderer