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 void
doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getDisplayName()
String
getIconFileName()
File
getRootDir()
String
getUrlName()
void
processDirectory()
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, IOException
Record 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:
getIconFileName
in interfacehudson.model.Action
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfacehudson.model.Action
- Specified by:
getDisplayName
in interfacehudson.model.ModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in 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:
IOException
javax.servlet.ServletException
-
-