Package de.xima.fc.stage
Interface IStageChainFactory
public interface IStageChainFactory
A factory for creating new
StageChain
instances with a particular configuration.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescription<R> StageChain<LocalVariables,
R> begin()
<T,
R> StageChain<T, R> begin
(T value) <R> StageChain<Void,
R> expect()
<T,
R> StageChain<T, R> resume
(CompletableFuture<T> stage)
-
Method Details
-
begin
- Type Parameters:
R
- Type of the eventual return value.- Returns:
- A new stage chain setup with the defaults as required by this context.
-
begin
- Type Parameters:
T
- Type of the current value.R
- Type of the eventual return value.- Parameters:
value
- Current value of the chain.- Returns:
- A new stage chain setup with the defaults as required by this context.
-
expect
- Type Parameters:
R
- Type of the eventual return value.- Returns:
- A new stage chain setup with the defaults as required by this context.
-
resume
- Type Parameters:
T
- Type of the current value.R
- Type of the eventual return value.- Parameters:
stage
- Stage to wrap.- Returns:
- A new stage chain setup with the defaults as required by this context.
-