Class WebhookRegisterRequest.Builder
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.trigger.register.WebhookRegisterRequest.Builder
-
- Enclosing class:
- WebhookRegisterRequest
public static class WebhookRegisterRequest.Builder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebhookRegisterRequest.Builder
aRequest(String project, String repoSlug)
WebhookRegisterRequest
build()
WebhookRegisterRequest.Builder
isMirror(boolean isMirror)
WebhookRegisterRequest.Builder
shouldTriggerOnPullRequest(boolean triggerOnPullRequest)
WebhookRegisterRequest.Builder
shouldTriggerOnRefChange(boolean triggerOnRefChange)
WebhookRegisterRequest.Builder
withJenkinsBaseUrl(String jenkinsUrl)
WebhookRegisterRequest.Builder
withName(String name)
-
-
-
Method Detail
-
aRequest
public static WebhookRegisterRequest.Builder aRequest(String project, String repoSlug)
-
build
public WebhookRegisterRequest build()
-
isMirror
public WebhookRegisterRequest.Builder isMirror(boolean isMirror)
-
shouldTriggerOnPullRequest
public WebhookRegisterRequest.Builder shouldTriggerOnPullRequest(boolean triggerOnPullRequest)
-
shouldTriggerOnRefChange
public WebhookRegisterRequest.Builder shouldTriggerOnRefChange(boolean triggerOnRefChange)
-
withJenkinsBaseUrl
public WebhookRegisterRequest.Builder withJenkinsBaseUrl(String jenkinsUrl)
-
withName
public WebhookRegisterRequest.Builder withName(String name)
-
-