node.getDocInfo().setHasError(
entry.getValue());
}
}
}
eventBus.fireEvent(new DocValidationResultEvent(
new Date()));
}
@Override
public void onFailure(Throwable caught) {
eventBus.fireEvent(new NotificationEvent(
NotificationEvent.Severity.Error,
"Unable to run validation"));
eventBus.fireEvent(new DocValidationResultEvent(
new Date()));
}
});
}
}