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 Details

    • 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.