Class ProcessorConfiguration
java.lang.Object
org.craftercms.studio.api.v1.asset.processing.ProcessorConfiguration
Represents the configuration of a processor.
- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the output path format.Returns the processor parameters.getType()Returns the processor type.voidsetOutputPathFormat(String outputPathFormat) Sets the output path format.voidSets the processor parameters.voidSets the processor type.
-
Constructor Details
-
ProcessorConfiguration
public ProcessorConfiguration()
-
-
Method Details
-
getType
Returns the processor type. -
setType
Sets the processor type. -
getParams
Returns the processor parameters. -
setParams
Sets the processor parameters. -
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
Sets the output path format.
-