Interface ContentTransformerWorker
-
- All Known Implementing Classes:
AbstractImageMagickContentTransformerWorker,AlfrescoPdfRendererContentTransformerWorker,ImageMagickContentTransformerWorker,JodContentTransformer,RuntimeExecutableContentTransformerWorker
@Deprecated @AlfrescoPublicApi public interface ContentTransformerWorkerDeprecated.The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.An interface that allows separation between the content transformer registry and the various third party subsystems performing the transformation.- Author:
- dward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetComments(boolean available)Deprecated.java.lang.StringgetVersionString()Deprecated.Gets a string returning product and version information.booleanisAvailable()Deprecated.Checks if this worker is available.booleanisTransformable(java.lang.String sourceMimetype, java.lang.String targetMimetype, TransformationOptions options)Deprecated.UnlikeContentTransformer.isTransformable(String, String, TransformationOptions)should not include the transformer name, as that is added by the ContentTransformer in the parent context.default booleanremoteTransformerClientConfigured()Deprecated.voidtransform(org.alfresco.service.cmr.repository.ContentReader reader, org.alfresco.service.cmr.repository.ContentWriter writer, TransformationOptions options)Deprecated.
-
-
-
Method Detail
-
isAvailable
boolean isAvailable()
Deprecated.Checks if this worker is available.- Returns:
- true if it is available
-
getVersionString
java.lang.String getVersionString()
Deprecated.Gets a string returning product and version information.- Returns:
- the version string
-
isTransformable
boolean isTransformable(java.lang.String sourceMimetype, java.lang.String targetMimetype, TransformationOptions options)Deprecated.UnlikeContentTransformer.isTransformable(String, String, TransformationOptions)should not include the transformer name, as that is added by the ContentTransformer in the parent context.
-
getComments
java.lang.String getComments(boolean available)
Deprecated.- See Also:
ContentTransformer.getComments(boolean)
-
transform
void transform(org.alfresco.service.cmr.repository.ContentReader reader, org.alfresco.service.cmr.repository.ContentWriter writer, TransformationOptions options) throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception- See Also:
ContentTransformer.transform(ContentReader, ContentWriter, TransformationOptions)
-
remoteTransformerClientConfigured
default boolean remoteTransformerClientConfigured()
Deprecated.- Returns:
- true if ther worker is using a remote server.
-
-