public class LiveScreenshotAction extends Object implements hudson.model.Action
| Constructor and Description |
|---|
LiveScreenshotAction(hudson.model.AbstractBuild build,
String fullscreenFilename,
String thumbnailFilename) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDynamic(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse rsp) |
hudson.model.AbstractBuild |
getBuild() |
String |
getDisplayName() |
String |
getFullscreenFilename() |
String |
getIconFileName() |
String |
getThumbnailFilename() |
String |
getUrlName() |
byte[] |
liveScreenshot(String filename) |
byte[] |
noScreenshotFile() |
byte[] |
readContent(InputStream is,
long length) |
byte[] |
screenshot(String filename) |
byte[] |
screenshotArtifact(String filename) |
public String getFullscreenFilename()
public String getThumbnailFilename()
public hudson.model.AbstractBuild getBuild()
public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic void doDynamic(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse rsp)
throws Exception
Exceptionpublic byte[] readContent(InputStream is, long length) throws IOException
IOExceptionpublic byte[] noScreenshotFile()
throws IOException
IOExceptionpublic byte[] screenshotArtifact(String filename) throws IOException
IOExceptionpublic byte[] liveScreenshot(String filename) throws IOException
IOExceptionpublic byte[] screenshot(String filename) throws IOException
IOExceptionCopyright © 2004-2013. All Rights Reserved.