code: private void execHooks(boolean pre) {
  		for (Hook hook : configuration.getHooks()) {
  			if (pre) {
  				hook.pre(this);
  			}
  			else {
  				hook.post(this);
  			}
  		}
  	}
docs: Exec hooks phase.
  
  @param pre Phase to execute (true => pre ; false => post).