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 Details

    • ProcessorPipelineConfiguration

      public ProcessorPipelineConfiguration()
  • Method Details

    • 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.