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.Action
getDisplayName
in interface hudson.model.ModelObject
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getUrlName()
getUrlName
in interface hudson.model.Action
public void doDynamic(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse rsp) throws Exception
Exception
public byte[] readContent(InputStream is, long length) throws IOException
IOException
public byte[] noScreenshotFile() throws IOException
IOException
public byte[] screenshotArtifact(String filename) throws IOException
IOException
public byte[] liveScreenshot(String filename) throws IOException
IOException
public byte[] screenshot(String filename) throws IOException
IOException
Copyright © 2004-2013. All Rights Reserved.