Class PipelineDiffAction

  • All Implemented Interfaces:
    hudson.model.Action, hudson.model.ModelObject

    public class PipelineDiffAction
    extends Object
    implements hudson.model.Action
    • Constructor Detail

      • PipelineDiffAction

        public PipelineDiffAction​(hudson.model.Job<?,​?> job)
    • Method Detail

      • getJob

        public hudson.model.Job<?,​?> getJob()
      • getIconFileName

        public String getIconFileName()
        Specified by:
        getIconFileName in interface hudson.model.Action
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface hudson.model.Action
        Specified by:
        getDisplayName in interface hudson.model.ModelObject
      • getUrlName

        public String getUrlName()
        Specified by:
        getUrlName in interface hudson.model.Action
      • doDynamic

        public void doDynamic​(org.kohsuke.stapler.StaplerRequest req,
                              org.kohsuke.stapler.StaplerResponse rsp)
                       throws IOException,
                              javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • enableDirectoryBrowserSupport

        protected void enableDirectoryBrowserSupport​(org.kohsuke.stapler.StaplerRequest req,
                                                     org.kohsuke.stapler.StaplerResponse rsp,
                                                     hudson.FilePath directoryToServe)
                                              throws IOException,
                                                     javax.servlet.ServletException
        Enables directory browsing for directoryToServe. Needed when showing the report, to be able to also serve referenced image and css files.
        Throws:
        IOException
        javax.servlet.ServletException
      • isPossible

        public boolean isPossible()