Class ProcessorPipelineConfiguration
java.lang.Object
org.craftercms.studio.api.v1.asset.processing.ProcessorPipelineConfiguration
Represents the configuration of an asset processor pipeline.
- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the input path pattern.Returns the list of configurations for the processors of this pipeline.boolean
Returns true if the original asset (without being processed) should be saved.void
setInputPathPattern
(String inputPathPattern) Sets the input path pattern.void
setKeepOriginal
(boolean keepOriginal) Sets if the original asset (without being processed) should be saved.void
setProcessorsConfig
(List<ProcessorConfiguration> processorsConfig) Sets the list of configurations for the processors of this pipeline.
-
Constructor Details
-
ProcessorPipelineConfiguration
public ProcessorPipelineConfiguration()
-
-
Method Details
-
getInputPathPattern
Returns the input path pattern. This pattern will be used to check in an asset needs to be processed by the pipeline. -
setInputPathPattern
Sets the input path pattern. -
isKeepOriginal
public boolean isKeepOriginal()Returns true if the original asset (without being processed) should be saved. -
setKeepOriginal
public void setKeepOriginal(boolean keepOriginal) Sets if the original asset (without being processed) should be saved. -
getProcessorsConfig
Returns the list of configurations for the processors of this pipeline. -
setProcessorsConfig
Sets the list of configurations for the processors of this pipeline.
-