Interface ImageVariant
public interface ImageVariant
-
Method Details
-
getName
String getName()- Returns:
- the variant name to use. This value is never
null
or blank (empty)
-
getReplaces
Returns the List of variants that should be replaced withgetName()
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 list- Returns:
- the List of variants that should be replaced with
getName()
and an EMPTY List if no explicit items for replaces are configured
-
isFallback
boolean isFallback()- Returns:
true
when the original variant should be shown when the variant forname
does not exist
-