use of org.apache.nifi.reporting.Severity in project nifi-minifi by apache.
the class MiNiFiPersistentProvenanceRepositoryTest method printTestName.
@Before
public void printTestName() {
reportedEvents.clear();
eventReporter = new EventReporter() {
private static final long serialVersionUID = 1L;
@Override
public void reportEvent(Severity severity, String category, String message) {
reportedEvents.add(new ReportedEvent(severity, category, message));
System.out.println(severity + " : " + category + " : " + message);
}
};
}
Aggregations