Class ProcessorConfiguration


  • public class ProcessorConfiguration
    extends Object
    Represents the configuration of a processor.
    Author:
    avasquez
    • Constructor Detail

      • ProcessorConfiguration

        public ProcessorConfiguration()
    • Method Detail

      • getType

        public String getType()
        Returns the processor type.
      • setType

        public void setType​(String type)
        Sets the processor type.
      • getParams

        public Map<String,​String> getParams()
        Returns the processor parameters.
      • setParams

        public void setParams​(Map<String,​String> params)
        Sets the processor parameters.
      • getOutputPathFormat

        public String getOutputPathFormat()
        Returns the output path format. Variables that have a dollar sign ($) and an index are later replaced by groups that resulted during input path matching, to form the final output path. E.g for path /static-assets/image/logo.jpg, if pipeline input path pattern = /static-assets/image/(.+)\.jpg and output path format = /static-assets/image/processed/$1.jpg, then the final output path of the processed asset will be /static-assets/image/processed/logo.jpg
        Returns:
        output path format
      • setOutputPathFormat

        public void setOutputPathFormat​(String outputPathFormat)
        Sets the output path format.