// Map 1 .......... container  SUCCEEDED      7          7        0        0       0       0
// TODO: can we pass custom things thru the progress?
public List<List<String>> rows() {
    try {
      List<List<String>> results = new ArrayList<>();
      for (BaseWork baseWork : topSortedWork) {
        String vertexName = baseWork.getName();
        VertexProgress progress = progressCountsMap.get(vertexName);
        if (progress != null) {
          // Map 1 .......... container  SUCCEEDED      7          7        0        0       0       0
          // TODO: can we pass custom things thru the progress?
          results.add(
            Arrays.asList(
              getNameWithProgress(vertexName, progress.succeededTaskCount, progress.totalTaskCount),
              getMode(baseWork),
              progress.vertexStatus(vertexStatusMap.get(vertexName)),
              progress.total(),
              progress.completed(),
              progress.running(),
              progress.pending(),
              progress.failed(),
              progress.killed()
            )
          );
        }
      }
      return results;
    } catch (Exception e) {
      console.printInfo(
          "Getting  Progress Bar table rows failed: " + e.getMessage() + " stack trace: " + Arrays
              .toString(e.getStackTrace())
      );
    }
    return Collections.emptyList();
  }
VertexProgress progress = progressCountsMap.get(vertexName);
if (progress != null) {
// Map 1 .......... container SUCCEEDED 7 7 0 0 0 0
// TODO: can we pass custom things thru the progress?
results.add(
Arrays.asList(
public List<List<String>> rows() {
try {
List<List<String>> results = new ArrayList<>();
for (BaseWork baseWork : topSortedWork) {
String vertexName = baseWork.getName();
VertexProgress progress = progressCountsMap.get(vertexName);
if (progress != null) {
// Map 1 .......... container SUCCEEDED 7 7 0 0 0 0
// TODO: can we pass custom things thru the progress?
results.add(
Arrays.asList(
getNameWithProgress(vertexName, progress.succeededTaskCount, progress.totalTaskCount),
getMode(baseWork),
progress.vertexStatus(vertexStatusMap.get(vertexName)),
progress.total(),
progress.completed(),
progress.running(),
progress.pending(),
progress.failed(),
public List<List<String>> rows() {
try {
List<List<String>> results = new ArrayList<>();
for (BaseWork baseWork : topSortedWork) {
String vertexName = baseWork.getName();
VertexProgress progress = progressCountsMap.get(vertexName);
if (progress != null) {
// Map 1 .......... container SUCCEEDED 7 7 0 0 0 0
// TODO: can we pass custom things thru the progress?
results.add(
Arrays.asList(
getNameWithProgress(vertexName, progress.succeededTaskCount, progress.totalTaskCount),
getMode(baseWork),
progress.vertexStatus(vertexStatusMap.get(vertexName)),
progress.total(),
progress.completed(),
progress.running(),
progress.pending(),
progress.failed(),
progress.killed()
)
);
}
}
return results;
} catch (Exception e) {
console.printInfo(
"Getting Progress Bar table rows failed: " + e.getMessage() + " stack trace: " + Arrays
.toString(e.getStackTrace())