public interface ImageVariant
Modifier and Type | Method and Description |
---|---|
String |
getName() |
List<String> |
getReplaces()
Returns the List of variants that should be replaced with
getName() and an EMPTY List if no explicit items for replaces are configured. |
boolean |
isFallback() |
String getName()
null
or blank (empty)List<String> getReplaces()
getName()
and an EMPTY List if no explicit items for replaces are configured.
When all variants need to be replaced by default, this List can return EMPTY listgetName()
and an EMPTY List if no explicit items for replaces are configuredboolean isFallback()
true
when the original variant should be shown when the variant for name
does not existCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.