Package io.github.pellse.assembler
Interface RuleContext<T,TC extends Collection<T>,ID,R,RRC>
- All Known Subinterfaces:
RuleContext.IdAwareRuleContext<T,
,TC, ID, EID, R, RRC> RuleMapperContext<T,
TC, ID, EID, R, RRC>
- All Known Implementing Classes:
RuleContext.DefaultRuleContext
,RuleMapperContext.DefaultRuleMapperContext
public interface RuleContext<T,TC extends Collection<T>,ID,R,RRC>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
RuleContext.DefaultRuleContext<T,
TC extends Collection<T>, ID, R, RRC> static interface
RuleContext.IdAwareRuleContext<T,
TC extends Collection<T>, ID, EID, R, RRC> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
ID, R, RRC>
Function<Function<T, ID>, RuleContext<T, List<T>, ID, R, RRC>> ruleContext
(Function<R, ID> correlationIdResolver) static <T,
TC extends Collection<T>, ID, R, RRC>
Function<Function<T, ID>, RuleContext<T, TC, ID, R, RRC>> ruleContext
(Function<R, ID> correlationIdResolver, Supplier<TC> topLevelCollectionFactory) static <T,
TC extends Collection<T>, ID, R, RRC>
Function<Function<T, ID>, RuleContext<T, TC, ID, R, RRC>> ruleContext
(Function<R, ID> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<ID, RRC> mapFactory)
-
Method Details
-
ruleContext
static <T,ID, Function<Function<T,R, RRC> ID>, ruleContextRuleContext<T, List<T>, ID, R, RRC>> (Function<R, ID> correlationIdResolver) -
ruleContext
static <T,TC extends Collection<T>, Function<Function<T,ID, R, RRC> ID>, ruleContextRuleContext<T, TC, ID, R, RRC>> (Function<R, ID> correlationIdResolver, Supplier<TC> topLevelCollectionFactory) -
ruleContext
static <T,TC extends Collection<T>, Function<Function<T,ID, R, RRC> ID>, ruleContextRuleContext<T, TC, ID, R, RRC>> (Function<R, ID> correlationIdResolver, Supplier<TC> topLevelCollectionFactory, MapFactory<ID, RRC> mapFactory) -
topLevelIdResolver
-
correlationIdResolver
-
topLevelCollectionFactory
-
mapFactory
MapFactory<ID,RRC> mapFactory()
-