Class DiscardOldBranchTrait.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.trait.DiscardOldBranchTrait.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
DiscardOldBranchTrait

@Symbol("bitbucketDiscardOldBranch") @Extension public static class DiscardOldBranchTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • doCheckKeepForDays

      public FormValidation doCheckKeepForDays(@QueryParameter int keepForDays)
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.trait.SCMSourceTrait>
    • isApplicableToBuilder

      public boolean isApplicableToBuilder(@NonNull Class<? extends jenkins.scm.api.trait.SCMBuilder> builderClass)
      Overrides:
      isApplicableToBuilder in class jenkins.scm.api.trait.SCMSourceTraitDescriptor