public class ScaleTransformationBuilder extends Object implements ITransformationBuilder
Scale transformation builder is based on content type and service instance to
decide the right ITransformation
.
For convention the args
parameter must be created using keys in upper case and their values should be a string.
Only reductions are allowed, always keeping the proportionality.
Constructor and Description |
---|
ScaleTransformationBuilder() |
Modifier and Type | Method and Description |
---|---|
ITransformation |
build(InputStream content,
String contentType,
String serviceInstanceId,
IFileMetadata fileMetadata,
Map<String,Object> args)
Returns an instance of
ITransformation based on content type, file service instance and transformation parameters. |
public ITransformation build(InputStream content, String contentType, String serviceInstanceId, IFileMetadata fileMetadata, Map<String,Object> args)
ITransformationBuilder
ITransformation
based on content type, file service instance and transformation parameters.build
in interface ITransformationBuilder
content
- the source of transformation.contentType
- the content type of the source of transformation.serviceInstanceId
- the service instance owner of source of the transformation.fileMetadata
- the file metadata to be built.args
- the arguments of the transformation. where the key is the parameter name
and the value represents the value of the parameter.ITransformation
implementation product of the transformation.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.