Class AbstractTransformationSourceOptions

  • All Implemented Interfaces:
    java.lang.Cloneable, TransformationSourceOptions
    Direct Known Subclasses:
    CropSourceOptions, PagedSourceOptions, TemporalSourceOptions

    @Deprecated
    public abstract class AbstractTransformationSourceOptions
    extends java.lang.Object
    implements TransformationSourceOptions, java.lang.Cloneable
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Base implementation of TransformationSourceOptions which holds applicable mimetypes and handles merge of options.
    Author:
    Ray Gauss II
    • Constructor Detail

      • AbstractTransformationSourceOptions

        public AbstractTransformationSourceOptions()
        Deprecated.
    • Method Detail

      • getApplicableMimetypes

        public java.util.List<java.lang.String> getApplicableMimetypes()
        Deprecated.
        Gets the list of applicable mimetypes
        Specified by:
        getApplicableMimetypes in interface TransformationSourceOptions
        Returns:
        the applicable mimetypes
      • setApplicableMimetypes

        public void setApplicableMimetypes​(java.util.List<java.lang.String> applicableMimetypes)
        Deprecated.
        Sets the list of applicable mimetypes
        Parameters:
        applicableMimetypes - the applicable mimetypes
      • isApplicableForMimetype

        public boolean isApplicableForMimetype​(java.lang.String mimetype)
        Deprecated.
        Gets whether or not these transformation source options apply for the given mimetype
        Specified by:
        isApplicableForMimetype in interface TransformationSourceOptions
        Parameters:
        mimetype - the mimetype of the source
        Returns:
        if these transformation source options apply
      • clone

        protected AbstractTransformationSourceOptions clone()
                                                     throws java.lang.CloneNotSupportedException
        Deprecated.
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • putParameterIfNotNull

        protected void putParameterIfNotNull​(java.lang.String paramName,
                                             java.io.Serializable paramValue,
                                             java.util.Map<java.lang.String,​java.io.Serializable> params)
        Deprecated.
        Adds the given paramValue to the given params if it's not null.
        Parameters:
        paramName - String
        paramValue - Serializable