public class AxisFilter extends java.lang.Object implements VariantFilter
VariantFilterfor filtering variants by the given axis.
The following example returns a list of variants which have a value of "blue" on the "color" axis:
product.getVariants(new AxisFilter("color", "blue"));
The wildcard "*" is supported for values. The following example will return all variants that have a "color" property:
product.getVariants(new AxisFilter("color", "*"));
|Constructor and Description|
|Modifier and Type||Method and Description|
Decides if a product is to be included by this filter.
Copyright © 2010 - 2020 Adobe. All Rights Reserved