Class ItemsErrorModel

  • All Implemented Interfaces:
    org.kohsuke.stapler.HttpResponse

    @ExportedBean(defaultVisibility=4)
    @StaplerAccessibleType
    public class ItemsErrorModel
    extends Object
    implements org.kohsuke.stapler.HttpResponse
    • Constructor Detail

      • ItemsErrorModel

        public ItemsErrorModel()
    • Method Detail

      • add

        public void add​(String value)
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • addError

        public void addError​(String error)
      • writeTo

        public void writeTo​(org.kohsuke.stapler.StaplerRequest req,
                            org.kohsuke.stapler.StaplerResponse rsp)
                     throws IOException,
                            javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • 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