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 Type
    Method
    Description
    void
    alert(String artifactName, String artifactType, String artifactLocation, String attributedUser, String reason)
    Triggered when a validation failure occurs (e.g.
    void
    warn(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 artifact
      artifactType - The artifact type
      artifactLocation - The location
      attributedUser - The user that triggered the repo change
      reason - 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 artifact
      artifactType - the artifact type
      artifactLocation - the location
      attributedUser - The user that triggered the repo change
      reason - Validation failure reason