public void beforeExecute(Closure action) {
   beforeExecute.add(new ClosureBackedAction<GradleExecuter>(action));
 }
 private void fireBeforeExecute() {
   beforeExecute.execute(this);
 }
 public void beforeExecute(Action<? super GradleExecuter> action) {
   beforeExecute.add(action);
 }