public void finished() {
   state.finished();
 }
 public void afterTask() {
   state.afterTask();
 }
 public TaskExecutionHistory getExecutionHistory() {
   return state.getExecutionHistory();
 }
 public void beforeTask() {
   state.beforeTask();
 }
 public boolean isUpToDate() {
   return !startParameter.isRerunTasks()
       && task.getOutputs().getUpToDateSpec().isSatisfiedBy(task)
       && state.isUpToDate();
 }