Class NativeBitbucketServerWebhook
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.server.client.repository.NativeBitbucketServerWebhook
-
- All Implemented Interfaces:
BitbucketWebHook
public class NativeBitbucketServerWebhook extends Object implements BitbucketWebHook
-
-
Constructor Summary
Constructors Constructor Description NativeBitbucketServerWebhook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
List<String>
getEvents()
String
getUrl()
String
getUuid()
boolean
isActive()
void
setActive(boolean active)
void
setDescription(String description)
void
setEvents(List<String> events)
void
setUrl(String url)
void
setUuid(String uuid)
-
-
-
Method Detail
-
getUuid
public String getUuid()
- Specified by:
getUuid
in interfaceBitbucketWebHook
- Returns:
- Bitbucket internal ID for this webhook (not required at creation time)
-
setUuid
public void setUuid(String uuid)
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceBitbucketWebHook
- Returns:
- webhook description text
-
setDescription
public void setDescription(String description)
-
getUrl
public String getUrl()
- Specified by:
getUrl
in interfaceBitbucketWebHook
- Returns:
- webhook URL (not required at creation time)
-
setUrl
public void setUrl(String url)
-
getEvents
public List<String> getEvents()
- Specified by:
getEvents
in interfaceBitbucketWebHook
- Returns:
- the list of events this webhook is notifying
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceBitbucketWebHook
- Returns:
- tru if the webhook is active (not required at creation time)
-
setActive
public void setActive(boolean active)
-
-