Class ManagedFile.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<ManagedFile>
org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFile.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
ManagedFile

@Symbol("configFile") @Extension public static class ManagedFile.DescriptorImpl extends Descriptor<ManagedFile>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<ManagedFile>
    • doFillFileIdItems

      public ListBoxModel doFillFileIdItems(@AncestorInPath ItemGroup context, @AncestorInPath Item project, @AncestorInPath AccessControlled ac)
    • doCheckFileId

      public org.kohsuke.stapler.HttpResponse doCheckFileId(org.kohsuke.stapler.StaplerRequest req, @AncestorInPath Item context, @AncestorInPath AccessControlled ac, @QueryParameter String fileId)
      validate that an existing config was chosen
      Parameters:
      req - the request
      context - the context this file is configured in
      fileId - the id of the config file
      Returns:
      a validation result / description