Class ForkMergeRequestDiscoveryTrait.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
io.jenkins.plugins.gitlabbranchsource.ForkMergeRequestDiscoveryTrait.DescriptorImpl
- Enclosing class:
- ForkMergeRequestDiscoveryTrait
@Symbol("gitLabForkDiscovery")
@Extension
@Discovery
public static class ForkMergeRequestDiscoveryTrait.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 ofForkMergeRequestDiscoveryTrait
.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, 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 stategy 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 ofForkMergeRequestDiscoveryTrait
.- Returns:
- the default trust for new instances of
ForkMergeRequestDiscoveryTrait
.
-