Package org.jboss.elemento.flow
Interface Sequence<C extends FlowContext>
-
- Type Parameters:
C- the type of the context shared between tasks
- All Superinterfaces:
Promisable<C>,Subscription<C>
public interface Sequence<C extends FlowContext> extends Promisable<C>, Subscription<C>
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_FAIL_FASTBy default, the execution of tasks fail fast.static longDEFAULT_TIMEOUTBy default, no timeout is used.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sequence<C>failFast(boolean failFast)Whether the execution of tasks should fail fast or fail last.Sequence<C>timeout(long timeout)The timeout in milliseconds for the sequence.-
Methods inherited from interface org.jboss.elemento.flow.Promisable
catch_, finally_, promise, then, then
-
Methods inherited from interface org.jboss.elemento.flow.Subscription
subscribe
-
-
-
-
Field Detail
-
DEFAULT_FAIL_FAST
static final boolean DEFAULT_FAIL_FAST
By default, the execution of tasks fail fast.- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT
static final long DEFAULT_TIMEOUT
By default, no timeout is used.- See Also:
- Constant Field Values
-
-