Class ParameterizedBranchPropertyStrategy.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<jenkins.branch.BranchPropertyStrategy>
jenkins.branch.BranchPropertyStrategyDescriptor
io.jenkins.plugins.multibranchparams.ParameterizedBranchPropertyStrategy.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ParameterizedBranchPropertyStrategy

@Extension @Symbol("parameterizedBranchStrategy") public static class ParameterizedBranchPropertyStrategy.DescriptorImpl extends jenkins.branch.BranchPropertyStrategyDescriptor
Jenkins extension descriptor for ParameterizedBranchPropertyStrategy.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.branch.BranchPropertyStrategy>
    • getParameterDescriptors

      public List<ParameterDefinition.ParameterDescriptor> getParameterDescriptors()
      Returns all known ParameterDefinition descriptors for the UI dropdown.
      Returns:
      list of parameter descriptors
    • doFillFilterModeItems

      @POST public ListBoxModel doFillFilterModeItems()
      Populates the filter mode dropdown with human-readable labels. Using ListBoxModel keeps the submitted value as the enum constant name (e.g. "ALL"), which Enum.valueOf() can bind back correctly, while showing a friendly label in the UI.
      Returns:
      list-box model for the filterMode select
    • doFillParameterPolicyItems

      @POST public ListBoxModel doFillParameterPolicyItems()