io.hyperfoil.tools.horreum.notification.Notification Maven / Gradle / Ivy
The newest version!
package io.hyperfoil.tools.horreum.notification;
import java.time.Instant;
import io.hyperfoil.tools.horreum.events.DatasetChanges;
import io.hyperfoil.tools.horreum.svc.MissingValuesEvent;
public abstract class Notification {
protected final String username;
protected final String data;
protected Notification(String username, String data) {
this.username = username;
this.data = data;
}
public abstract void notifyChanges(DatasetChanges changes);
public abstract void notifyMissingDataset(String testName, int testId, String ruleName, long maxStaleness,
Instant lastTimestamp);
public abstract void notifyMissingValues(String testName, String fingerprint, MissingValuesEvent missing);
public abstract void notifyExpectedRun(String testName, int testId, long before, String expectedBy, String backlink);
public abstract void notifyApiKeyExpiration(String keyName, Instant creation, Instant lastAccess, long toExpiration,
long active);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy