Interface ClassificationsTransformer

All Superinterfaces:
Transformer<String[]>

public interface ClassificationsTransformer extends Transformer<String[]>
Is a specific interface extending Transformer for transforming resources in preparation for export as Classifications for Analytics. The interface uses the String[] type.
Since:
6.1
  • Method Summary

    Modifier and Type
    Method
    Description
    getHeader(Resource resource)
    Returns a String[] of header keys from a resource.

    Methods inherited from interface com.adobe.cq.scheduled.exporter.Transformer

    transform
  • Method Details

    • getHeader

      String[] getHeader(Resource resource)
      Returns a String[] of header keys from a resource. The first value will be 'Key' as defined by Analytics. The other values are non-namespace property names of the resource. Please note that the Transformer.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.