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.

@FunctionalInterface public interface Prioritizer
Creates a priority between two vertices for object merging.
  • 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 source ObjectVertex
      destination - the destination ObjectVertex
      logger - the Logger for logging any messages during priority creation
      Returns:
      a PrioritisedVertex representing the priority between the source and destination
      Throws:
      OperationFailedException - if the priority creation fails