Interface DescriptionPreprocessingSegment

    • Method Detail

      • beforeFirstModification

        default void beforeFirstModification​(MdibDescriptionModifications 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.
      • afterLastModification

        default void afterLastModification​(MdibDescriptionModifications 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.
      • process

        void process​(MdibDescriptionModifications allModifications,
                     MdibDescriptionModification currentModification,
                     MdibStorage storage)
              throws Exception
        In a sequence of modifications this function processes one modification.
        Parameters:
        allModifications - all modifications.
        currentModification - the current modification to be processed.
        storage - the MDIB storage for access.
        Throws:
        Exception - an arbitrary exception if something goes wrong.