Class PullRequestSourceBranchFilterTrait.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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 matching
        ignoreCase - Ignore case sensitivity
        regex - Treat the phrase as regular expression
        testMatcher - The subject to validate by the pattern or the phrase
        Returns:
        validation status