Interface AssetProcessor

All Known Implementing Classes:
AbstractAssetProcessor, ImageTransformingProcessor

public interface AssetProcessor
Processes an asset (input) and returns the transformed asset or a new asset (output).
Author:
avasquez
  • Method Details

    • processAsset

      Asset processAsset(ProcessorConfiguration config, Matcher inputPathMatcher, Asset input) throws AssetProcessingException
      Processes the given asset.
      Parameters:
      config - the configuration to use
      inputPathMatcher - the Matcher object that resulted from path matching the asset against the input path pattern of the pipeline
      input - the asset to process
      Returns:
      the transformed asset or a new asset
      Throws:
      AssetProcessingException - if an error occurs.