Class PostWebhooksConfiguration
java.lang.Object
io.jenkins.plugins.bitbucket.webhook.moveworkforward.v1.PostWebhooksConfiguration
- All Implemented Interfaces:
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration,Describable<com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration>
public class PostWebhooksConfiguration
extends Object
implements com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns theIdCredentials.getId()of the credentials to use for auto-management of hooks.getId()Class<? extends com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager>final booleanReturnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.voidsetEndpointJenkinsRootURL(String endpointJenkinsRootURL) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
getDescriptor
-
Constructor Details
-
PostWebhooksConfiguration
@DataBoundConstructor public PostWebhooksConfiguration(boolean manageHooks, @CheckForNull String credentialsId)
-
-
Method Details
-
isManageHooks
public final boolean isManageHooks()Returnstrueif and only if Jenkins is supposed to auto-manage hooks for this end-point.- Specified by:
isManageHooksin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration- Returns:
trueif and only if Jenkins is supposed to auto-manage hooks for this end-point.
-
getCredentialsId
Returns theIdCredentials.getId()of the credentials to use for auto-management of hooks.- Specified by:
getCredentialsIdin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration- Returns:
- the
IdCredentials.getId()of the credentials to use for auto-management of hooks.
-
getEndpointJenkinsRootURL
- Specified by:
getEndpointJenkinsRootURLin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
-
setEndpointJenkinsRootURL
-
getDisplayName
- Specified by:
getDisplayNamein interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
-
getId
- Specified by:
getIdin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
-
getManager
public Class<? extends com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookManager> getManager()- Specified by:
getManagerin interfacecom.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfiguration
-