Class ForkPullRequestDiscoveryTrait.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
com.cloudbees.jenkins.plugins.bitbucket.ForkPullRequestDiscoveryTrait.DescriptorImpl
- Enclosing class:
- ForkPullRequestDiscoveryTrait
@Symbol("bitbucketForkDiscovery")
@Extension
@Discovery
public static class ForkPullRequestDiscoveryTrait.DescriptorImpl
extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our descriptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPopulates the strategy options.Class<? extends jenkins.scm.api.trait.SCMSourceContext>
jenkins.scm.api.trait.SCMHeadAuthority<?,
?, ?> Returns the default trust for new instances ofForkPullRequestDiscoveryTrait
.Class<? extends jenkins.scm.api.SCMSource>
List<jenkins.scm.api.trait.SCMHeadAuthorityDescriptor>
Returns the list of appropriateSCMHeadAuthorityDescriptor
instances.Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
getBuilderClass, isApplicableTo, isApplicableTo, isApplicableTo, isApplicableToBuilder, isApplicableToBuilder, isApplicableToContext, isApplicableToContext
Methods inherited from class jenkins.scm.api.trait.SCMTraitDescriptor
getScmClass, isApplicableToSCM, isApplicableToSCM
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
getContextClass
- Overrides:
getContextClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
getSourceClass
- Overrides:
getSourceClass
in classjenkins.scm.api.trait.SCMSourceTraitDescriptor
-
doFillStrategyIdItems
@NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillStrategyIdItems()Populates the strategy options.- Returns:
- the strategy options.
-
getTrustDescriptors
Returns the list of appropriateSCMHeadAuthorityDescriptor
instances.- Returns:
- the list of appropriate
SCMHeadAuthorityDescriptor
instances.
-
getDefaultTrust
@NonNull public jenkins.scm.api.trait.SCMHeadAuthority<?,?, getDefaultTrust()?> Returns the default trust for new instances ofForkPullRequestDiscoveryTrait
.- Returns:
- the default trust for new instances of
ForkPullRequestDiscoveryTrait
.
-