com.sun.labs.minion
Interface Progress


public interface Progress

An interface for tracking progress


Method Summary
 void done()
          Stops a progress session
 void next()
          Proceed to the next step without specifying a name.
 void next(java.lang.String name)
          Proceed to the next step and specify the name of the step
 void start(int numSteps)
          Starts a progress session
 

Method Detail

start

void start(int numSteps)
Starts a progress session

Parameters:
numSteps - the total number of steps in the session

next

void next(java.lang.String name)
Proceed to the next step and specify the name of the step

Parameters:
name - the name of the step

next

void next()
Proceed to the next step without specifying a name. If a previous name was assigned, it will be unchanged.


done

void done()
Stops a progress session