Class BitbucketServerWebhook
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.server.client.repository.BitbucketServerWebhook
- All Implemented Interfaces:
BitbucketWebHook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the secret used as the key to generate a HMAC digest value sent in the X-Hub-Signature header at delivery time.getUrl()getUuid()booleanisActive()booleanvoidsetActive(boolean active) voidsetDescription(String description) voidvoidvoidsetSslVerificationRequired(boolean sslVerificationRequired) voidvoid
-
Constructor Details
-
BitbucketServerWebhook
public BitbucketServerWebhook()
-
-
Method Details
-
getUuid
- Specified by:
getUuidin interfaceBitbucketWebHook- Returns:
- Bitbucket internal ID for this webhook (not required at creation time)
-
setUuid
-
getDescription
- Specified by:
getDescriptionin interfaceBitbucketWebHook- Returns:
- webhook description text
-
setDescription
-
getUrl
- Specified by:
getUrlin interfaceBitbucketWebHook- Returns:
- webhook URL (not required at creation time)
-
setUrl
-
getEvents
- Specified by:
getEventsin interfaceBitbucketWebHook- Returns:
- the list of events this webhook is notifying
-
setEvents
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceBitbucketWebHook- Returns:
- tru if the webhook is active (not required at creation time)
-
setActive
public void setActive(boolean active) -
getSecret
Description copied from interface:BitbucketWebHookReturns the secret used as the key to generate a HMAC digest value sent in the X-Hub-Signature header at delivery time.- Specified by:
getSecretin interfaceBitbucketWebHook- Returns:
- a secret
-
setSecret
-
isSslVerificationRequired
public boolean isSslVerificationRequired() -
setSslVerificationRequired
public void setSslVerificationRequired(boolean sslVerificationRequired)
-