Class ManagedFile.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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