Class ProcessorPipelineConfiguration
- java.lang.Object
-
- org.craftercms.studio.api.v1.asset.processing.ProcessorPipelineConfiguration
-
public class ProcessorPipelineConfiguration extends Object
Represents the configuration of an asset processor pipeline.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description ProcessorPipelineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInputPathPattern()
Returns the input path pattern.List<ProcessorConfiguration>
getProcessorsConfig()
Returns the list of configurations for the processors of this pipeline.boolean
isKeepOriginal()
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.
-
-
-
Method Detail
-
getInputPathPattern
public String getInputPathPattern()
Returns the input path pattern. This pattern will be used to check in an asset needs to be processed by the pipeline.
-
setInputPathPattern
public void setInputPathPattern(String inputPathPattern)
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
public List<ProcessorConfiguration> getProcessorsConfig()
Returns the list of configurations for the processors of this pipeline.
-
setProcessorsConfig
public void setProcessorsConfig(List<ProcessorConfiguration> processorsConfig)
Sets the list of configurations for the processors of this pipeline.
-
-