code: public final void run(Closure templateCallback) {
  		reset();
  		setRunning();
  		doSetup();
  		while (processing()) {
  			templateCallback.call(doWork());
  		}
  		setCompleted();
  		doCleanup();
  	}
docs: {@inheritDoc}
  
  Defines the workflow sequence.