Class PushNotification

java.lang.Object
org.jenkinsci.plugins.registry.notification.webhook.PushNotification
Direct Known Subclasses:
ACRPushNotification, DockerHubPushNotification, DockerRegistryPushNotification

public abstract class PushNotification extends Object
  • Field Details

    • repoName

      protected String repoName
  • Constructor Details

    • PushNotification

      public PushNotification(WebHookPayload webHookPayload)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getCause

      public abstract Cause getCause()
    • getJobParamerers

      @Deprecated public Set<ParameterValue> getJobParamerers()
      Deprecated.
      misspelled and wrong context naming. Use getRunParameters()
      Provide parameters to be put into a build.
      Returns:
      the parameters
    • getRunParameters

      public Set<ParameterValue> getRunParameters()
    • getCauseMessage

      public abstract String getCauseMessage()
    • getRepoName

      public String getRepoName()
      String like "username/reponame"
      Returns:
      the name of the repo
    • sha

      public abstract String sha()
    • getPushedAt

      @CheckForNull public Date getPushedAt()
    • setPushedAt

      public void setPushedAt(Date pushedAt)
    • getWebHookPayload

      public WebHookPayload getWebHookPayload()
    • getReceived

      public long getReceived()
    • getShortDescription

      public abstract String getShortDescription()
    • getCallbackHandler

      public CallbackHandler getCallbackHandler()
    • setCallbackHandler

      public void setCallbackHandler(CallbackHandler callbackHandler)
    • getRegistryHost

      public abstract String getRegistryHost()