Package lumis.portal.file.transformation
Interface ITransformationBuilder
-
- All Known Implementing Classes:
ScaleTransformationBuilder
,TranscodingTransformationBuilder
@StableMinor(version="17.0", sinceVersion="6.1") public interface ITransformationBuilder
Transformation builder, responsible to build anITransformation
object.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default ITransformation
build(java.io.InputStream content, java.lang.String contentType, java.lang.String serviceInstanceId, IFileMetadata fileMetadata, java.util.Map<java.lang.String,java.lang.Object> args)
Deprecated, for removal: This API element is subject to removal in a future version.since 16.0.0, implementbuild(IFileTransformation, InputStream, String, String, IFileMetadata, Map)
instead.default ITransformation
build(IFileTransformation fileTransformation, java.io.InputStream content, java.lang.String contentType, java.lang.String serviceInstanceId, IFileMetadata fileMetadata, java.util.Map<java.lang.String,java.lang.Object> args)
Returns an instance ofITransformation
based on content type, file service instance and transformation parameters.
-
-
-
Method Detail
-
build
@Deprecated(forRemoval=true, since="15.1") default ITransformation build(java.io.InputStream content, java.lang.String contentType, java.lang.String serviceInstanceId, IFileMetadata fileMetadata, java.util.Map<java.lang.String,java.lang.Object> args)
Deprecated, for removal: This API element is subject to removal in a future version.since 16.0.0, implementbuild(IFileTransformation, InputStream, String, String, IFileMetadata, Map)
instead.Returns an instance ofITransformation
based on content type, file service instance and transformation parameters.- Parameters:
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.- Returns:
- a
ITransformation
implementation product of the transformation. - Since:
- 6.1.0
-
build
default ITransformation build(IFileTransformation fileTransformation, java.io.InputStream content, java.lang.String contentType, java.lang.String serviceInstanceId, IFileMetadata fileMetadata, java.util.Map<java.lang.String,java.lang.Object> args)
Returns an instance ofITransformation
based on content type, file service instance and transformation parameters.- Parameters:
fileTransformation
- the file transformation being performed.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.- Returns:
- a
ITransformation
implementation product of the transformation. - Since:
- 16.0.0
-
-