public static List<String> generateProgressDisplay(
      double progress, List<String> unfinishedLeafTasks) {
    List<String> lines = new ArrayList<>();

    lines.add(HEADER);
    lines.add(generateProgressBar(progress));
    for (String task : unfinishedLeafTasks) {
      lines.add("> " + task);
    }

    return lines;
  }
Generates a progress display.

@param progress the overall progress, with {@code 1.0} meaning fully complete
@param unfinishedLeafTasks the unfinished leaf tasks
@return the progress display as a list of lines
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/ProgressDisplayGenerator.java