com.github.born2snipe.cli
Class ProgressPrinter

java.lang.Object
  extended by com.github.born2snipe.cli.ProgressPrinter
Direct Known Subclasses:
CountUpToTotalPrinter, ElapsedTimePrinter, MultipleProgressPrinter, PercentPrinter

public abstract class ProgressPrinter
extends Object


Field Summary
protected  Printer printer
           
protected  int total
           
 
Constructor Summary
protected ProgressPrinter(int total, Printer printer)
           
 
Method Summary
protected abstract  void processStep(int currentStep)
           
 void step()
           
 void step(int numberOfSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

total

protected final int total

printer

protected final Printer printer
Constructor Detail

ProgressPrinter

protected ProgressPrinter(int total,
                          Printer printer)
Method Detail

step

public void step(int numberOfSteps)

step

public void step()

processStep

protected abstract void processStep(int currentStep)


Copyright © 2014. All Rights Reserved.