public class ArtifactsDocLinksDocument extends Object implements hudson.model.ModelObject
StaplerRequest.findAncestorObject(Class)
at runtime.| Constructor and Description |
|---|
ArtifactsDocLinksDocument(String id,
String artifactName,
String title,
String initialPath,
String indexFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDynamic(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
Send a contents of the artifact that is requested via HTTP.
|
String |
getArtifactName() |
protected hudson.model.AbstractBuild<?,?> |
getBuild(org.kohsuke.stapler.StaplerRequest req)
Resolves the build containing the artifact by
StaplerRequest.findAncestorObject(Class) |
String |
getDisplayName() |
String |
getId() |
String |
getIndexFile() |
String |
getInitialPath() |
String |
getTitle() |
String |
getUrl() |
static boolean |
isDirectory(ZipFile zip,
String path) |
public String getArtifactName()
public String getTitle()
public String getInitialPath()
public String getIndexFile()
public String getId()
public String getUrl()
public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectModelObject.getDisplayName()protected hudson.model.AbstractBuild<?,?> getBuild(org.kohsuke.stapler.StaplerRequest req)
StaplerRequest.findAncestorObject(Class)req - public void doDynamic(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws IOException,
javax.servlet.ServletException
req - resp - IOExceptionjavax.servlet.ServletExceptionpublic static boolean isDirectory(ZipFile zip, String path) throws IOException
zip - entry - IOExceptionCopyright © 2004-2016. All Rights Reserved.