Class ProcessorConfiguration
- java.lang.Object
-
- org.craftercms.studio.api.v1.asset.processing.ProcessorConfiguration
-
public class ProcessorConfiguration extends Object
Represents the configuration of a processor.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description ProcessorConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOutputPathFormat()
Returns the output path format.Map<String,String>
getParams()
Returns the processor parameters.String
getType()
Returns the processor type.void
setOutputPathFormat(String outputPathFormat)
Sets the output path format.void
setParams(Map<String,String> params)
Sets the processor parameters.void
setType(String type)
Sets the processor type.
-
-
-
Method Detail
-
getType
public String getType()
Returns the processor type.
-
setType
public void setType(String type)
Sets the processor type.
-
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.
-
-