InternalTaskExecutionDetails (final boolean incremental, final List<String> executionReasons) { return new InternalTaskExecutionDetails() { @Override public boolean isIncremental() { return incremental; } @Override public List<String> getExecutionReasons() { return executionReasons; } }; }