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