public interface AssetProcessorPipeline
AssetProcessors.| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
processAsset(ProcessorPipelineConfiguration config,
Asset input)
Processes the asset, only if there's a match with
ProcessorPipelineConfiguration.getInputPathPattern(). |
List<Asset> processAsset(ProcessorPipelineConfiguration config, Asset input) throws AssetProcessingException
ProcessorPipelineConfiguration.getInputPathPattern(). If there's no
match, an empty list is returned. Multiple outputs can be returned depending whether or not the processors of the pipeline
have an output different than their input.config - the configuration to use for the pipeline executioninput - the input of the pipelineAssetProcessingException - if an error occursCopyright © 2020 CrafterCMS. All rights reserved.