Class SafeArchiveServingAction
- java.lang.Object
-
- com.github.bogdanlivadariu.jenkins.reporting.SafeArchiveServingAction
-
- All Implemented Interfaces:
hudson.model.Action,hudson.model.ModelObject
- Direct Known Subclasses:
SafeArchiveServingRunAction
public class SafeArchiveServingAction extends Object implements hudson.model.Action
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)StringgetDisplayName()StringgetIconFileName()FilegetRootDir()StringgetUrlName()voidprocessDirectory()Record the checksums of files in the specified directory and its descendants unless a file type is whitelisted as safe.
-
-
-
Method Detail
-
processDirectory
public void processDirectory() throws NoSuchAlgorithmException, IOExceptionRecord the checksums of files in the specified directory and its descendants unless a file type is whitelisted as safe.- Throws:
NoSuchAlgorithmException- If the platform does unexpectedly not support SHA-1IOException
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfacehudson.model.Action
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfacehudson.model.Action- Specified by:
getDisplayNamein interfacehudson.model.ModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfacehudson.model.Action
-
getRootDir
public File getRootDir()
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
-