public static class CaseBuilder.InMatchOfManyStep2<R,V,T,X>
extends java.lang.Object
| Constructor and Description |
|---|
InMatchOfManyStep2() |
| Modifier and Type | Method and Description |
|---|---|
MatchingInstance<T,X> |
thenApply(ActionWithReturn<java.util.List<V>,X> a)
Create a new Case with the supplied ActionWithReturn as the action
|
MatchingInstance<T,X> |
thenConsume(Action<java.util.List<V>> a)
Create a new Case with the supplied ActionWithReturn as the action
|
public MatchingInstance<T,X> thenApply(ActionWithReturn<java.util.List<V>,X> a)
a - Action to be executed when the new Case is triggeredpublic MatchingInstance<T,X> thenConsume(Action<java.util.List<V>> a)
a - Action to be executed when the new Case is triggered