Class ClassBasedStep

    • Method Detail

      • process

        public Document process​(Document document,
                                PipelineContext context)
        Description copied from interface: PipelineStep
        The pipeline will call the process method, passing each document to the step. The step will then perform and actions and can return either the same document or a new document representing its result.

        It can also interact with the context if it wishes to work with the stores or other contextual information.

        Specified by:
        process in interface PipelineStep
        Parameters:
        document - The document to process
        context - The pipeline's context
        Returns:
        The document after the steps actions