Interface DescriptionPreprocessingSegment
-
- All Known Implementing Classes:
CardinalityChecker,DescriptorChildRemover,DuplicateChecker,HandleReferenceHandler,TypeConsistencyChecker,VersionHandler
public interface DescriptionPreprocessingSegmentA segment that is applied during description modifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidafterLastModification(MdibDescriptionModifications modifications, MdibStorage mdibStorage)Function that is invoked after the last modification in the processing chain has been applied.default voidbeforeFirstModification(MdibDescriptionModifications modifications, MdibStorage mdibStorage)Function that is invoked before the first modification in the processing chain is applied.voidprocess(MdibDescriptionModifications allModifications, MdibDescriptionModification currentModification, MdibStorage storage)In a sequence of modifications this function processes one modification.
-
-
-
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.
-
-