org.jenkinsci.plugins.imagegallery.comparative
Class InFolderComparativeArchivedImagesGallery

java.lang.Object
  extended by org.jenkinsci.plugins.imagegallery.imagegallery.ImageGallery
      extended by org.jenkinsci.plugins.imagegallery.comparative.ComparativeArchivedImagesGallery
          extended by org.jenkinsci.plugins.imagegallery.comparative.InFolderComparativeArchivedImagesGallery
All Implemented Interfaces:
hudson.model.Describable<ImageGallery>, Serializable, Comparable<ImageGallery>

public class InFolderComparativeArchivedImagesGallery
extends ComparativeArchivedImagesGallery

An image gallery of archived artifacts Comparing same files in different folders.

Since:
0.2
Author:
Richard Lavoie
See Also:
Serialized Form

Nested Class Summary
static class InFolderComparativeArchivedImagesGallery.DescriptorImpl
           
 
Nested classes/interfaces inherited from class org.jenkinsci.plugins.imagegallery.comparative.ComparativeArchivedImagesGallery
ComparativeArchivedImagesGallery.ComparativeDescriptorImpl
 
Constructor Summary
InFolderComparativeArchivedImagesGallery(String title, String baseRootFolder, Integer imageWidth, Integer imageInnerWidth, boolean markBuildAsUnstableIfNoArchivesFound)
          Constructor called from jelly.
 
Method Summary
 boolean createImageGallery(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 
Methods inherited from class org.jenkinsci.plugins.imagegallery.comparative.ComparativeArchivedImagesGallery
getBaseRootFolder, getImageInnerWidth, getImageWidth, getRelativeFrom, getTitle, isMarkBuildAsUnstableIfNoArchivesFound
 
Methods inherited from class org.jenkinsci.plugins.imagegallery.imagegallery.ImageGallery
all, allExcept, compareTo, getDescriptor, getProjectActions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InFolderComparativeArchivedImagesGallery

@DataBoundConstructor
public InFolderComparativeArchivedImagesGallery(String title,
                                                                     String baseRootFolder,
                                                                     Integer imageWidth,
                                                                     Integer imageInnerWidth,
                                                                     boolean markBuildAsUnstableIfNoArchivesFound)
Constructor called from jelly.

Parameters:
title - Title of the image gallery
baseRootFolder - Root folder where the images will be retrieve from
imageWidth - thumbnail width of each images
imageInnerWidth - Width for the images in the popup display
markBuildAsUnstableIfNoArchivesFound - Mark the build as unstable if no archives found
Method Detail

createImageGallery

public boolean createImageGallery(hudson.model.AbstractBuild<?,?> build,
                                  hudson.model.BuildListener listener)
                           throws InterruptedException,
                                  IOException
Specified by:
createImageGallery in class ImageGallery
Throws:
InterruptedException
IOException


Copyright © 2004-2012 TupiLabs. All Rights Reserved.