code: public final void setPhase (final IPhase newPhase) {
  
          phase = newPhase;
          LOGGER.trace("Switching to phase " + newPhase.getClass().getSimpleName());
  
      }
docs: This method sets the current <code>IPhase</code> instance to the given value.
  
  @param newPhase The new instance to switch to.