Class NamedMappingProcessorCallback
java.lang.Object
org.incenp.obofoundry.sssom.transform.NamedMappingProcessorCallback
- All Implemented Interfaces:
IMappingProcessorCallback
A processor callback that has a string representation. This class merely
wraps an existing callback and is mostly intended for debugging, so that
filters created using lambda functions can still be displayed in a readable
form.
-
Constructor Summary
ConstructorsConstructorDescriptionNamedMappingProcessorCallback(String name, IMappingProcessorCallback callback) Creates a new instance. -
Method Summary
-
Constructor Details
-
NamedMappingProcessorCallback
Creates a new instance.- Parameters:
name- A string representation of the callback.callback- The actual callback.
-
-
Method Details
-
process
Description copied from interface:IMappingProcessorCallbackApplies a custom process to a set of mappings. This method is called byMappingProcessor.process(List)before applying the preprocessor and/or the generator of the current rule.- Specified by:
processin interfaceIMappingProcessorCallback- Parameters:
filter- The filter of the rule currently being applied. May benull.mappings- The current set of mappings.
-
toString
-