Package com.adobe.cq.scheduled.exporter
Interface Transformer<T>
-
- Type Parameters:
T- Transformer type
- All Known Subinterfaces:
ClassificationsTransformer
public interface Transformer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ttransform(Resource resource)Transforms aResourceinto another representation of typeT.
-
-
-
Method Detail
-
transform
T transform(Resource resource) throws TransformationException
Transforms aResourceinto another representation of typeT.- Parameters:
resource- Resource to transform- Returns:
- Transformed Resource of type T or
nullif Resource is not transformable into this type. - Throws:
TransformationException- if transformation fails
-
-