use of com.khartec.waltz.model.changelog.ImmutableChangeLog in project waltz by khartec.
the class FlowDiagramService method auditChange.
private void auditChange(String verb, EntityReference diagramRef, String username, Operation operation) {
ImmutableChangeLog logEntry = ImmutableChangeLog.builder().parentReference(diagramRef).severity(Severity.INFORMATION).userId(username).message(String.format("Diagram %s", verb)).childKind(diagramRef.kind()).operation(operation).build();
changeLogService.write(logEntry);
}
Aggregations