Interface IPostProcessor

  • All Superinterfaces:
    IProcessor

    public interface IPostProcessor
    extends IProcessor
    IPostProcessor is a service that is called after execution of operation which can be used to postProcess or executePostProcessors the results of the operation. The post processor implementation can also add data/prune/filter the results.
    • Method Detail

      • postProcess

        IValue postProcess​(ExecutionContext executionContext,
                           IValue resultSet)
                    throws DermisException
        Post-process allow user to verify/control the results of an operation before passing the results to the end user. This method can also include the logic to filter/prune/add to the results of the operation.
        Parameters:
        executionContext - provides details regarding operation and argument.
        resultSet - IValue
        Returns:
        value return the updated IValue
        Throws:
        DermisException