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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Asset
processAsset(ProcessorConfiguration config, Matcher inputPathMatcher, Asset input)
Processes the given asset.
-
-
-
Method Detail
-
processAsset
Asset processAsset(ProcessorConfiguration config, Matcher inputPathMatcher, Asset input) throws AssetProcessingException
Processes the given asset.- Parameters:
config
- the configuration to useinputPathMatcher
- the Matcher object that resulted from path matching the asset against the input path pattern of the pipelineinput
- the asset to process- Returns:
- the transformed asset or a new asset
- Throws:
AssetProcessingException
- if an error occurs.
-
-