Class PushNotification
- java.lang.Object
-
- org.jenkinsci.plugins.registry.notification.webhook.PushNotification
-
- Direct Known Subclasses:
ACRPushNotification
,DockerHubPushNotification
,DockerRegistryPushNotification
public abstract class PushNotification extends Object
-
-
Constructor Summary
Constructors Constructor Description PushNotification(WebHookPayload webHookPayload)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
CallbackHandler
getCallbackHandler()
abstract Cause
getCause()
abstract String
getCauseMessage()
Set<ParameterValue>
getJobParamerers()
Deprecated.misspelled and wrong context naming.Date
getPushedAt()
long
getReceived()
abstract String
getRegistryHost()
String
getRepoName()
String like "username/reponame"Set<ParameterValue>
getRunParameters()
abstract String
getShortDescription()
WebHookPayload
getWebHookPayload()
int
hashCode()
void
setCallbackHandler(CallbackHandler callbackHandler)
void
setPushedAt(Date pushedAt)
abstract String
sha()
-
-
-
Field Detail
-
repoName
protected String repoName
-
-
Constructor Detail
-
PushNotification
public PushNotification(WebHookPayload webHookPayload)
-
-
Method Detail
-
getCause
public abstract Cause getCause()
-
getJobParamerers
@Deprecated public Set<ParameterValue> getJobParamerers()
Deprecated.misspelled and wrong context naming. UsegetRunParameters()
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()
-
-