Interface Prioritizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates a priority between two vertices for object merging.
-
Method Summary
Modifier and TypeMethodDescriptioncreatePriority(ObjectVertex source, ObjectVertex destination, Logger logger) Creates a prioritized vertex based on the source and destination vertices.
-
Method Details
-
createPriority
PrioritisedVertex createPriority(ObjectVertex source, ObjectVertex destination, Logger logger) throws OperationFailedException Creates a prioritized vertex based on the source and destination vertices.- Parameters:
source- the sourceObjectVertexdestination- the destinationObjectVertexlogger- theLoggerfor logging any messages during priority creation- Returns:
- a
PrioritisedVertexrepresenting the priority between the source and destination - Throws:
OperationFailedException- if the priority creation fails
-