Interface AssetProcessorPipeline
-
- All Known Implementing Classes:
AssetProcessorPipelineImpl
public interface AssetProcessorPipeline
Represents a pipeline ofAssetProcessor
s.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Asset>
processAsset(ProcessorPipelineConfiguration config, Asset input)
Processes the asset, only if there's a match withProcessorPipelineConfiguration.getInputPathPattern()
.
-
-
-
Method Detail
-
processAsset
List<Asset> processAsset(ProcessorPipelineConfiguration config, Asset input) throws AssetProcessingException
Processes the asset, only if there's a match withProcessorPipelineConfiguration.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.- Parameters:
config
- the configuration to use for the pipeline executioninput
- the input of the pipeline- Returns:
- the outputs, or an empty list if the input was not processed
- Throws:
AssetProcessingException
- if an error occurs
-
-