Interface AssetProcessor

    • Method Detail

      • 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.