public class TryCatchFinallyNodeBuilder extends AbstractExecutableNodeBuilder<ProcessStatus,TryCatchFinallyProcessor,TryCatchFinallyNode,StatusWrapperHandler>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TryCatchFinallyNodeBuilder.TryCatchFinally |
| 限定符和类型 | 字段和说明 |
|---|---|
private List<TryCatchFinallyNode.CatchMapper> |
catchMapperList |
private BranchNode |
finallyBranch |
private BranchNode |
tryBranch |
description, enableSupplier, executor, fallbackProcessor, handlers, id, keyMapper, listeners, name, node, parallel, processor, readableKeys, resultKey, returnCondition, rule, weakDependencySupplier, writableKeys| 限定符 | 构造器和说明 |
|---|---|
private |
TryCatchFinallyNodeBuilder() |
resultKey, returnOn, writableKeys, writableKeysprivate BranchNode tryBranch
private List<TryCatchFinallyNode.CatchMapper> catchMapperList
private BranchNode finallyBranch
public static TryCatchFinallyNodeBuilder newBuilder()
public TryCatchFinallyNodeBuilder parallel()
public TryCatchFinallyNodeBuilder parallel(Executor executor)
public TryCatchFinallyNodeBuilder processOn(Rule rule)
public TryCatchFinallyNodeBuilder addListeners(ProcessListener<ProcessStatus>... listeners)
public TryCatchFinallyNodeBuilder by(TryCatchFinallyProcessor processor)
public TryCatchFinallyNodeBuilder enabled(BooleanSupplier supplier)
public TryCatchFinallyNodeBuilder wrap(@NotNull @NotNull StatusWrapperHandler handler)
public TryCatchFinallyNodeBuilder wrap(@NotNull @NotNull List<StatusWrapperHandler> handlers)
public TryCatchFinallyNodeBuilder.TryCatchFinally tryOn(BranchNode branch)
public TryCatchFinallyNodeBuilder.TryCatchFinally tryOn(ExecutableNode<?,?>... nodes)
public TryCatchFinallyNodeBuilder.TryCatchFinally tryOn(List<ExecutableNode<?,?>> nodes)
public TryCatchFinallyNodeBuilder name(String name)
public TryCatchFinallyNodeBuilder description(String description)
protected TryCatchFinallyNodeBuilder keyMapper(KeyMapper keyMapper)
protected TryCatchFinallyNodeBuilder readableKeys(@NotNull Key<?>... keys)
protected TryCatchFinallyNodeBuilder readableKeys(@NotNull @NotNull Set<Key<?>> keys)
public TryCatchFinallyNodeBuilder strongDependency()
public TryCatchFinallyNodeBuilder weakDependency()
public TryCatchFinallyNodeBuilder weakDependency(@NotNull @NotNull BooleanSupplier supplier)
public TryCatchFinallyNodeBuilder fallbackBy(Processor<ProcessStatus> fallbackProcessor)
public TryCatchFinallyNodeBuilder id(String id)
public TryCatchFinallyNode build()
Copyright © 2021. All rights reserved.