Class ConfigFilesAction

  • All Implemented Interfaces:
    Action, ModelObject, org.kohsuke.stapler.StaplerProxy

    public class ConfigFilesAction
    extends Object
    implements Action, org.kohsuke.stapler.StaplerProxy
    handles a request like `http://localhost:8080/jenkins/job/myjob/configfiles/show?id=MY_FILE_ID` to allow the preview of a config file with the ID 'MY_FILE_ID' from a config screen.
    • Constructor Detail

      • ConfigFilesAction

        public ConfigFilesAction​(Job item)
    • Method Detail

      • getTarget

        public Object getTarget()
        Specified by:
        getTarget in interface org.kohsuke.stapler.StaplerProxy
      • doShow

        public void doShow​(org.kohsuke.stapler.StaplerRequest req,
                           org.kohsuke.stapler.StaplerResponse rsp,
                           @QueryParameter("id")
                           String fileId,
                           @AncestorInPath
                           ItemGroup group)
                    throws IOException,
                           javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException