Class BitbucketServerEndpoint
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.endpoint.AbstractBitbucketEndpoint
com.cloudbees.jenkins.plugins.bitbucket.impl.endpoint.BitbucketServerEndpoint
- All Implemented Interfaces:
- BitbucketEndpoint,- Describable<BitbucketEndpoint>
Represents a Bitbucket Server instance.
- Since:
- 2.2.0
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classOur descriptor.
- 
Constructor SummaryConstructorsConstructorDescriptionBitbucketServerEndpoint(String displayName, String serverURL) Default constructor.BitbucketServerEndpoint(String displayName, String serverURL, BitbucketWebhookConfiguration webhook) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic BitbucketServerVersionfindServerVersion(String serverURL) Name to use to describe the endpoint.getRepositoryURL(String repoOwner, String repository) The user facing URL of the specified repository.The URL of this endpoint.getType()Returns the type of this endpoint.protected ObjectvoidsetServerVersion(String serverVersion) Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.impl.endpoint.AbstractBitbucketEndpointgetCredentialsId, getEndpointJenkinsRootURL, getWebhook, isManageHooks, setManageHooks, setWebhookMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.endpoint.BitbucketEndpointcredentials, getDescriptor, isEquals
- 
Constructor Details- 
BitbucketServerEndpointDefault constructor.- Parameters:
- serverURL-
 
- 
BitbucketServerEndpoint@DataBoundConstructor public BitbucketServerEndpoint(@CheckForNull String displayName, @NonNull String serverURL, @NonNull BitbucketWebhookConfiguration webhook) Constructor.- Parameters:
- displayName- Optional name to use to describe the end-point.
- serverURL- The URL of this Bitbucket Server
- webhook- implementation to work for this end-point.
 
 
- 
- 
Method Details- 
findServerVersion
- 
getTypeDescription copied from interface:BitbucketEndpointReturns the type of this endpoint.- Returns:
- endpoint type.
 
- 
getServerVersion
- 
setServerVersion
- 
getDisplayNameName to use to describe the endpoint.- Returns:
- the name to use for the endpoint
 
- 
getServerURLDescription copied from interface:BitbucketEndpointThe URL of this endpoint.- Returns:
- the URL of the endpoint.
 
- 
getRepositoryURLThe user facing URL of the specified repository.- Parameters:
- repoOwner- the repository owner.
- repository- the repository name
- Returns:
- the user facing URL of the specified repository.
 
- 
readResolve- Overrides:
- readResolvein class- AbstractBitbucketEndpoint
 
 
-