Class LogRecorderManager

    • Constructor Detail

      • LogRecorderManager

        @DataBoundConstructor
        public LogRecorderManager()
    • Method Detail

      • setRecorders

        @DataBoundSetter
        public void setRecorders​(List<LogRecorder> recorders)
      • getSearchUrl

        public String getSearchUrl()
        Description copied from interface: SearchItem
        Returns the URL of this item relative to the parent SearchItem.
        Specified by:
        getSearchUrl in interface SearchItem
        Returns:
        URL like "foo" or "foo/bar". The path can end with '/'. The path that starts with '/' will be interpreted as the absolute path (within the context path of Jenkins.)
      • doNewLogRecorder

        public org.kohsuke.stapler.HttpResponse doNewLogRecorder​(@QueryParameter
                                                                 String name)
        Creates a new log recorder.
      • doCheckNewName

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public FormValidation doCheckNewName​(@QueryParameter
                                             String name)
      • doConfigLogger

        public org.kohsuke.stapler.HttpResponse doConfigLogger​(@QueryParameter
                                                               String name,
                                                               @QueryParameter
                                                               String level)
        Configure the logging level.
      • doRss

        public void doRss​(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp)
                   throws IOException,
                          javax.servlet.ServletException
        RSS feed for log entries.
        Throws:
        IOException
        javax.servlet.ServletException
      • getTarget

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public Object getTarget()
        Specified by:
        getTarget in interface org.kohsuke.stapler.StaplerProxy