Class ProgressEventHandler.Update
- java.lang.Object
-
- com.google.cloud.tools.jib.event.progress.ProgressEventHandler.Update
-
- Enclosing class:
- ProgressEventHandler
public static class ProgressEventHandler.Update extends java.lang.Object
Contains the accumulated progress and which "leaf" tasks are not yet complete. Leaf tasks are those that do not have sub-tasks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getProgress()
Gets the overall progress, with1.0
meaning fully complete.com.google.common.collect.ImmutableList<java.lang.String>
getUnfinishedLeafTasks()
Gets a list of the unfinished "leaf" tasks in the order in which those tasks were encountered.
-
-
-
Method Detail
-
getProgress
public double getProgress()
Gets the overall progress, with1.0
meaning fully complete.- Returns:
- the overall progress
-
getUnfinishedLeafTasks
public com.google.common.collect.ImmutableList<java.lang.String> getUnfinishedLeafTasks()
Gets a list of the unfinished "leaf" tasks in the order in which those tasks were encountered.- Returns:
- a list of unfinished "leaf" tasks
-
-