Package Utils.Progress
Class ProgressFactory
- java.lang.Object
-
- Utils.Progress.ProgressFactory
-
public class ProgressFactory extends java.lang.Object
Factory for creating a progress indicator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProgressFactory.ProgressType
Represents the types of progress indicators
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Progress
get(long total)
Get a new instancestatic void
set(ProgressFactory.ProgressType type)
Set the type of progress indicator the factory creates
-
-
-
Method Detail
-
get
public static Progress get(long total)
Get a new instance- Parameters:
total
- The number of tasks to be completed- Returns:
- A new instance
-
set
public static void set(ProgressFactory.ProgressType type)
Set the type of progress indicator the factory creates- Parameters:
type
- Type of progress indicator
-
-