Interface SourcingStrategyService
- All Known Implementing Classes:
DefaultSourcingStrategyService
public interface SourcingStrategyService
Service to get sourcing strategies to be used in different contexts.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the default sourcing strategies.getStrategies(SourcingContext context, Collection<SourcingStrategyMapper> mappers) Get the sourcing strategies according to a given sourcing context and sourcing mappers.
-
Method Details
-
getStrategies
List<SourcingStrategy> getStrategies(SourcingContext context, Collection<SourcingStrategyMapper> mappers) Get the sourcing strategies according to a given sourcing context and sourcing mappers.- Parameters:
context- - the sourcing contextmappers- - collection of sourcing strategy mappers- Returns:
- ordered list of sourcing strategies; never null
-
getDefaultStrategies
List<SourcingStrategy> getDefaultStrategies()Get the default sourcing strategies.- Returns:
- ordered list of sourcing strategies; never null
-