Class DescriptionResponse

java.lang.Object
org.jenkinsci.plugins.configfiles.utils.DescriptionResponse
All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse
Direct Known Subclasses:
ConfigFileDetailLinkDescription

public class DescriptionResponse extends Object implements org.kohsuke.stapler.HttpResponse
Can be used instead of a FormValidation.ok(String) to give the user some information about the item to checked (e.g. a selection in a dropdown)
  • Constructor Details

    • DescriptionResponse

      public DescriptionResponse(String html)
  • Method Details

    • generateResponse

      public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException
      Specified by:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      javax.servlet.ServletException