Interface StatePreprocessingSegment

    • Method Detail

      • beforeFirstModification

        default void beforeFirstModification​(MdibStateModifications modifications,
                                             MdibStorage mdibStorage)
        Function that is invoked before the first modification in the processing chain is applied.

        Default behavior is do nothing.

        Parameters:
        modifications - all modifications for preprocessing.
        mdibStorage - the MDIB storage to be used by the callback.
      • process

        void process​(MdibStateModifications modifications,
                     AbstractState modification,
                     MdibStorage storage)
              throws Exception
        In a sequence of modifications this function processes one modification.
        Parameters:
        modifications - all modifications that are being processed.
        modification - the current modification to be processed.
        storage - the MDIB storage for access.
        Throws:
        Exception - an arbitrary exception if something goes wrong.
      • afterLastModification

        default void afterLastModification​(MdibStateModifications modifications,
                                           MdibStorage mdibStorage)
        Function that is invoked after the last modification in the processing chain has been applied.

        Default behavior is do nothing.

        Parameters:
        modifications - all modifications for preprocessing.
        mdibStorage - the MDIB storage to be used by the callback.