Package de.xima.fc.stage
Interface IStageChainFactory
-
public interface IStageChainFactoryA factory for creating newStageChaininstances with a particular configuration.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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 Detail
-
begin
<R> StageChain<LocalVariables,R> 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
<T,R> StageChain<T,R> begin(T value)
- 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
<R> StageChain<Void,R> 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
<T,R> StageChain<T,R> resume(CompletableFuture<T> stage)
- 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.
-
-