org.jenkinsci.plugins.livescreenshot
Class LiveScreenshotAction

java.lang.Object
  extended by org.jenkinsci.plugins.livescreenshot.LiveScreenshotAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class LiveScreenshotAction
extends Object
implements hudson.model.Action

Author:
sts

Constructor Summary
LiveScreenshotAction(hudson.model.AbstractBuild build, String fullscreenFilename, String thumbnailFilename)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveScreenshotAction

public LiveScreenshotAction(hudson.model.AbstractBuild build,
                            String fullscreenFilename,
                            String thumbnailFilename)
Method Detail

getFullscreenFilename

public String getFullscreenFilename()

getThumbnailFilename

public String getThumbnailFilename()

getBuild

public hudson.model.AbstractBuild getBuild()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

doDynamic

public void doDynamic(org.kohsuke.stapler.StaplerRequest request,
                      org.kohsuke.stapler.StaplerResponse rsp)
               throws Exception
Throws:
Exception

readContent

public byte[] readContent(InputStream is,
                          long length)
                   throws IOException
Throws:
IOException

noScreenshotFile

public byte[] noScreenshotFile()
                        throws IOException
Throws:
IOException

screenshotArtifact

public byte[] screenshotArtifact(String filename)
                          throws IOException
Throws:
IOException

liveScreenshot

public byte[] liveScreenshot(String filename)
                      throws IOException
Throws:
IOException

screenshot

public byte[] screenshot(String filename)
                  throws IOException
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.