Interface Notifier
public interface Notifier
Interface for Verification failure event handlers to implement. All active implementations of this class on the
Spring graph will be invoked when a verification check is failed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidalert(String artifactName, String artifactType, String artifactLocation, String attributedUser, String reason) Triggered when a validation failure occurs (e.g.voidwarn(String artifactName, String artifactType, String artifactLocation, String attributedUser, String reason) Triggered when an event of note occurs (e.g.
-
Method Details
-
warn
void warn(String artifactName, String artifactType, String artifactLocation, String attributedUser, String reason) Triggered when an event of note occurs (e.g. changes to an external dependency out of our control fails validation)- Parameters:
artifactName- The name of the artifactartifactType- The artifact typeartifactLocation- The locationattributedUser- The user that triggered the repo changereason- Validation failure reason
-
alert
void alert(String artifactName, String artifactType, String artifactLocation, String attributedUser, String reason) Triggered when a validation failure occurs (e.g. unsigned artifact detected)- Parameters:
artifactName- The name of the artifactartifactType- the artifact typeartifactLocation- the locationattributedUser- The user that triggered the repo changereason- Validation failure reason
-