Interface ClassificationsTransformer
-
- All Superinterfaces:
Transformer<java.lang.String[]>
public interface ClassificationsTransformer extends Transformer<java.lang.String[]>
Is a specific interface extendingTransformer
for transforming resources in preparation for export as Classifications for Analytics. The interface uses the String[] type.- Since:
- 6.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getHeader(Resource resource)
Returns a String[] of header keys from aresource
.-
Methods inherited from interface com.adobe.cq.scheduled.exporter.Transformer
transform
-
-
-
-
Method Detail
-
getHeader
java.lang.String[] getHeader(Resource resource)
Returns a String[] of header keys from aresource
. The first value will be 'Key' as defined by Analytics. The other values are non-namespace property names of theresource
. Please note that theTransformer.transform(Resource)
method needs to return its values in the exact same order as defined in the header.- Parameters:
resource
- resource to extract the headerkeys from- Returns:
- Header column keys, starting with 'Key' as first value.
-
-