Class PipelineDiffAction
java.lang.Object
com.hello2morrow.sonargraph.integration.jenkins.controller.PipelineDiffAction
- All Implemented Interfaces:
Action,ModelObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoDynamic(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) protected voidenableDirectoryBrowserSupport(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, FilePath directoryToServe) Enables directory browsing for directoryToServe.Job<?,?> getJob()booleanprotected StringreadHTMLReport(FilePath pathToReport, String alternative)
-
Constructor Details
-
PipelineDiffAction
-
-
Method Details
-
getJob
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
readHTMLReport
protected String readHTMLReport(FilePath pathToReport, String alternative) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
enableDirectoryBrowserSupport
protected void enableDirectoryBrowserSupport(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, FilePath directoryToServe) throws IOException, jakarta.servlet.ServletException Enables directory browsing for directoryToServe. Needed when showing the report, to be able to also serve referenced image and css files.- Throws:
IOExceptionjakarta.servlet.ServletException
-
getHTMLReport
- Throws:
IOExceptionInterruptedException
-
isPossible
public boolean isPossible()
-