Class ConfigFilesAction

java.lang.Object
org.jenkinsci.plugins.configfiles.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.
  • Field Details

  • Constructor Details

    • ConfigFilesAction

      public ConfigFilesAction(Job item)
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • 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