public abstract class ComparativeArchivedImagesGallery extends AbstractArchivedImagesGallery
| Modifier and Type | Class and Description |
|---|---|
static class |
ComparativeArchivedImagesGallery.ComparativeDescriptorImpl |
| Constructor and Description |
|---|
ComparativeArchivedImagesGallery(String title,
String baseRootFolder,
String imageWidthText,
String imageInnerWidthText,
boolean markBuildAsUnstableIfNoArchivesFound)
Constructor called from jelly.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseRootFolder() |
String |
getImageInnerWidthText() |
protected List<String> |
getRelativeFrom(FilePath file,
FilePath parent)
Retrieve an array with the directories required to go from parent to file.
|
String |
getTitle() |
isMarkBuildAsUnstableIfNoArchivesFoundall, allExcept, compareTo, createImageGallery, getDescriptor, getImageWidthText, getProjectActionspublic ComparativeArchivedImagesGallery(String title, String baseRootFolder, String imageWidthText, String imageInnerWidthText, boolean markBuildAsUnstableIfNoArchivesFound)
title - gallery titlebaseRootFolder - base root folderimageWidthText - widthimageInnerWidthText - inner widthmarkBuildAsUnstableIfNoArchivesFound - flag to fail build if nothing foundpublic String getTitle()
getTitle in class ImageGallerypublic String getBaseRootFolder()
public String getImageInnerWidthText()
protected List<String> getRelativeFrom(FilePath file, FilePath parent)
Retrieve an array with the directories required to go from parent to file. Like in a network where you can trace for hops.
For example, from /home/silb/archives to /home/silb/archives/images/1.png, the method will return an array with images and 1.png.
file - target fileparent - parent fileparent to file.Copyright © 2012–2019 TupiLabs. All rights reserved.