Class PathMatchProcessor

java.lang.Object
org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
org.craftercms.studio.impl.v1.content.pipeline.PathMatchProcessor
All Implemented Interfaces:
ContentProcessor
Direct Known Subclasses:
CheckImageSizeProcessor, ContentLifeCycleProcessor, ExtractDependencyProcessor, FormDmContentProcessor

public class PathMatchProcessor extends BaseContentProcessor
  • Field Details

  • Constructor Details

    • PathMatchProcessor

      public PathMatchProcessor()
      default constructor
    • PathMatchProcessor

      public PathMatchProcessor(String name)
      constructor that sets the process name
      Parameters:
      name -
  • Method Details

    • setMatchPaths

      public void setMatchPaths(List<String> matchPaths)
      Parameters:
      matchPaths - the matchPaths to set
    • setUnmatchPaths

      public void setUnmatchPaths(List<String> unmatchPaths)
      Parameters:
      unmatchPaths - the unmatchPaths to set
    • isProcessable

      public boolean isProcessable(PipelineContent content)
      Description copied from interface: ContentProcessor
      determines if the content is processable by the given parameters
      Specified by:
      isProcessable in interface ContentProcessor
      Overrides:
      isProcessable in class BaseContentProcessor
      Parameters:
      content -