Class PullRequestTargetBranchFilterTrait.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
- jenkins.scm.api.trait.SCMSourceTraitDescriptor
-
- org.jenkinsci.plugins.bitbucket.pullrequests.filter.traits.PullRequestTargetBranchFilterTrait.DescriptorImpl
-
- Enclosing class:
- PullRequestTargetBranchFilterTrait
@Extension @Discovery public static class PullRequestTargetBranchFilterTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
-
-
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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBoxModel
doFillStrategyIdItems()
Populates the strategy options.FormValidation
doTestPhrase(String phrase, boolean ignoreCase, boolean regex, String testMatcher)
Validate the inputsString
getDisplayName()
-
Methods inherited from class jenkins.scm.api.trait.SCMSourceTraitDescriptor
getBuilderClass, getContextClass, getSourceClass, 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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
-
doFillStrategyIdItems
@Nonnull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillStrategyIdItems()
Populates the strategy options.- Returns:
- the strategy options.
-
doTestPhrase
@Nonnull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doTestPhrase(@QueryParameter("phrase") String phrase, @QueryParameter("ignoreCase") boolean ignoreCase, @QueryParameter("regex") boolean regex, @QueryParameter("testMatcher") String testMatcher)
Validate the inputs- Parameters:
phrase
- The phrase or the regular expression as pattern to matchingignoreCase
- Ignore case sensitivityregex
- Treat the phrase as regular expressiontestMatcher
- The subject to validate by the pattern or the phrase- Returns:
- validation status
-
-