
com.day.cq.analytics.sitecatalyst.SAINTTransformer Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2012 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and may be covered by U.S. and Foreign Patents,
* patents in process, and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.day.cq.analytics.sitecatalyst;
import org.apache.sling.api.resource.Resource;
import com.adobe.cq.scheduled.exporter.Transformer;
/**
* Is a specific interface extending
* {@link com.adobe.cq.scheduled.exporter.Transformer} for transforming resources
* in preparation for export to SAINT. The interface uses the String[] type.
*/
@Deprecated
public interface SAINTTransformer extends Transformer {
/**
* Returns a String[] of header keys from a resource
. The first
* value will be 'Key' as defined by SAINT. The other values are
* non-namespace property names of the resource
. Please note that
* the {@link SAINTTransformer#transform(Resource)} method needs to return its values
* in the exact same order as defined in the header.
* @param resource {@code Resource} to get header from.
*
* @return Header column keys, starting with 'Key' as first value.
*/
String[] getHeader(Resource resource);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy