Interface SourcingStrategyMapper
-
- All Known Implementing Classes:
AbstractSourcingStrategyMapper,PickupSourcingStrategyMapper
public interface SourcingStrategyMapperA mapper is used to map a sourcing context to a sourcing strategy.- See Also:
SourcingContext,SourcingStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourcingStrategygetStrategy()Get the sourcing strategy associate with this matcher.java.lang.BooleanisMatch(SourcingContext context)Determines if this mapper produces a match for the given sourcing context.
-
-
-
Method Detail
-
getStrategy
SourcingStrategy getStrategy()
Get the sourcing strategy associate with this matcher.- Returns:
- the sourcing strategy or null if none is set
-
isMatch
java.lang.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
-
-