Interface SourcingStrategyMapper

All Known Implementing Classes:
AbstractSourcingStrategyMapper, PickupSourcingStrategyMapper

public interface SourcingStrategyMapper
A mapper is used to map a sourcing context to a sourcing strategy.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the sourcing strategy associate with this matcher.
    Determines if this mapper produces a match for the given sourcing context.
  • Method Details

    • getStrategy

      SourcingStrategy getStrategy()
      Get the sourcing strategy associate with this matcher.
      Returns:
      the sourcing strategy or null if none is set
    • isMatch

      Boolean isMatch(SourcingContext context)
      Determines if this mapper produces a match for the given sourcing context.
      Parameters:
      context - - the sourcing context
      Returns:
      true if it is a match; false otherwise