Class TransformerSelectorImplOriginal
- java.lang.Object
-
- org.alfresco.repo.content.transform.TransformerSelectorImplOriginal
-
- All Implemented Interfaces:
TransformerSelector
@Deprecated public class TransformerSelectorImplOriginal extends java.lang.Object implements TransformerSelector
Deprecated.The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.Implementation of a transformer selector that matches the code that was in place before a selector was introduced. Class is not used but exists to allow customers to maintain the previous approach if they really wish.- Author:
- Alan Davis
-
-
Constructor Summary
Constructors Constructor Description TransformerSelectorImplOriginal()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<ContentTransformer>selectTransformers(java.lang.String sourceMimetype, long sourceSize, java.lang.String targetMimetype, TransformationOptions options)Deprecated.Returns a sorted list of transformers that identifies the order in which transformers should be tried.voidsetContentTransformerRegistry(ContentTransformerRegistry contentTransformerRegistry)Deprecated.
-
-
-
Method Detail
-
setContentTransformerRegistry
public void setContentTransformerRegistry(ContentTransformerRegistry contentTransformerRegistry)
Deprecated.
-
selectTransformers
public java.util.List<ContentTransformer> selectTransformers(java.lang.String sourceMimetype, long sourceSize, java.lang.String targetMimetype, TransformationOptions options)
Deprecated.Description copied from interface:TransformerSelectorReturns a sorted list of transformers that identifies the order in which transformers should be tried.- Specified by:
selectTransformersin interfaceTransformerSelectoroptions- transformation options- Returns:
- a sorted list of transformers, with the best one first.
-
-