public class UnitAggregatableNodeBuilder<R> extends AbstractExecutableNodeBuilder<R,AggregateProcessor<R,R>,UnitAggregatableNode<R>,WrapperHandler<R>>
| 限定符和类型 | 字段和说明 |
|---|---|
private UnitAggregator<R> |
aggregator |
private List<GenericMergeableNode<R>> |
mergeableNodes |
description, enableSupplier, executor, fallbackProcessor, handlers, id, keyMapper, listeners, name, node, parallel, processor, readableKeys, resultKey, returnCondition, rule, weakDependencySupplier, writableKeys| 限定符 | 构造器和说明 |
|---|---|
private |
UnitAggregatableNodeBuilder(UnitAggregatableNode<R> node) |
writableKeys, writableKeysprivate List<GenericMergeableNode<R>> mergeableNodes
private UnitAggregator<R> aggregator
private UnitAggregatableNodeBuilder(UnitAggregatableNode<R> node)
public static <R> UnitAggregatableNodeBuilder<R> newBuilder()
public UnitAggregatableNodeBuilder<R> parallel()
public UnitAggregatableNodeBuilder<R> parallel(Executor executor)
public UnitAggregatableNodeBuilder<R> processOn(Rule rule)
public UnitAggregatableNodeBuilder<R> addListeners(ProcessListener<R>... listeners)
public UnitAggregatableNodeBuilder<R> by(AggregateProcessor<R,R> processor)
public UnitAggregatableNodeBuilder<R> aggregate(@NotNull GenericMergeableNode<R>... nodes)
public UnitAggregatableNodeBuilder<R> aggregate(@NotNull @NotNull List<GenericMergeableNode<R>> nodes)
public UnitAggregatableNodeBuilder<R> aggregator(@NotNull @NotNull UnitAggregator<R> aggregator)
public UnitAggregatableNodeBuilder<R> resultKey(Key<R> resultKey)
public UnitAggregatableNodeBuilder<R> returnOn(ReturnCondition<R> condition)
public UnitAggregatableNodeBuilder<R> enabled(BooleanSupplier supplier)
public UnitAggregatableNodeBuilder<R> keyMapper(KeyMapper keyMapper)
public UnitAggregatableNodeBuilder<R> readableKeys(@NotNull Key<?>... keys)
public UnitAggregatableNodeBuilder<R> readableKeys(@NotNull @NotNull Set<Key<?>> keys)
public UnitAggregatableNodeBuilder<R> wrap(@NotNull @NotNull WrapperHandler<R> handler)
public UnitAggregatableNodeBuilder<R> wrap(@NotNull @NotNull List<WrapperHandler<R>> handlers)
public UnitAggregatableNodeBuilder<R> name(String name)
public UnitAggregatableNodeBuilder<R> description(String description)
public UnitAggregatableNodeBuilder<R> strongDependency()
public UnitAggregatableNodeBuilder<R> weakDependency()
public UnitAggregatableNodeBuilder<R> weakDependency(@NotNull @NotNull BooleanSupplier supplier)
public UnitAggregatableNodeBuilder<R> fallbackBy(Processor<R> fallbackProcessor)
public UnitAggregatableNodeBuilder<R> id(String id)
public UnitAggregatableNode<R> build()
build 在接口中 Builder<UnitAggregatableNode<R>>build 在类中 AbstractExecutableNodeBuilder<R,AggregateProcessor<R,R>,UnitAggregatableNode<R>,WrapperHandler<R>>Copyright © 2021. All rights reserved.