Interface OperationResolver

All Known Implementing Classes:
DefaultOperationResolver

public interface OperationResolver
Author:
Phillip Verheyden (phillipuniverse)
  • Method Details

    • resolveOperation

      OperationType resolveOperation(String recordType, @Nullable OperationType suppliedOperation, @Nullable String suppliedId, Map<String,String> row)
      Determine the id that should be used for BatchRecord.getResourceTierIdentifier() for the parsed record from a file
      Parameters:
      recordType - the type of record being resolved
      suppliedOperation - the operation that was given by the user in the file, can be null
      suppliedId - the primary key resolved from the file, can be null
      row - the record parsed from the file
      Returns:
      operation that should be used for the record