Class BitbucketSCMSourceContext
- java.lang.Object
-
- jenkins.scm.api.trait.SCMSourceContext<BitbucketSCMSourceContext,BitbucketSCMSourceRequest>
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSourceContext
-
public class BitbucketSCMSourceContext extends jenkins.scm.api.trait.SCMSourceContext<BitbucketSCMSourceContext,BitbucketSCMSourceRequest>
- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description BitbucketSCMSourceContext(jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer, com.cloudbees.plugins.credentials.Credentials credentials, Collection<jenkins.scm.api.SCMHead> eventHeads, BitbucketSCMRepository repository, TaskListener taskListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.cloudbees.plugins.credentials.Credentials
getCredentials()
Collection<BitbucketSCMHeadDiscoveryHandler>
getDiscoveryHandlers()
Collection<jenkins.scm.api.SCMHead>
getEventHeads()
BitbucketSCMRepository
getRepository()
TaskListener
getTaskListener()
BitbucketSCMSourceRequest
newRequest(jenkins.scm.api.SCMSource source, TaskListener listener)
void
withDiscoveryHandler(BitbucketSCMHeadDiscoveryHandler handler)
-
-
-
Constructor Detail
-
BitbucketSCMSourceContext
public BitbucketSCMSourceContext(@CheckForNull jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer, @CheckForNull com.cloudbees.plugins.credentials.Credentials credentials, Collection<jenkins.scm.api.SCMHead> eventHeads, BitbucketSCMRepository repository, TaskListener taskListener)
-
-
Method Detail
-
getCredentials
@CheckForNull public com.cloudbees.plugins.credentials.Credentials getCredentials()
-
getDiscoveryHandlers
public Collection<BitbucketSCMHeadDiscoveryHandler> getDiscoveryHandlers()
-
getEventHeads
public Collection<jenkins.scm.api.SCMHead> getEventHeads()
-
newRequest
public BitbucketSCMSourceRequest newRequest(jenkins.scm.api.SCMSource source, @CheckForNull TaskListener listener)
- Specified by:
newRequest
in classjenkins.scm.api.trait.SCMSourceContext<BitbucketSCMSourceContext,BitbucketSCMSourceRequest>
-
getRepository
public BitbucketSCMRepository getRepository()
-
getTaskListener
public TaskListener getTaskListener()
-
withDiscoveryHandler
public void withDiscoveryHandler(BitbucketSCMHeadDiscoveryHandler handler)
-
-