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 T
transform(Resource resource)
Transforms aResource
into another representation of typeT
.
-
-
-
Method Detail
-
transform
T transform(Resource resource) throws TransformationException
Transforms aResource
into another representation of typeT
.- Parameters:
resource
- Resource to transform- Returns:
- Transformed Resource of type T or
null
if Resource is not transformable into this type. - Throws:
TransformationException
- if transformation fails
-
-