Modifier and Type | Method and Description |
---|---|
void |
CommandInterpreter.interpret(PersistedValue<java.lang.Long> state,
Context context,
java.lang.Object message) |
void |
CommandInterpreterFn.invoke(Context context,
java.lang.Object message) |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalContext |
Modifier and Type | Interface and Description |
---|---|
interface |
ApplyingContext |
Modifier and Type | Method and Description |
---|---|
void |
RequestReplyFunction.invoke(Context context,
java.lang.Object input) |
Modifier and Type | Method and Description |
---|---|
void |
StatefulFunction.invoke(Context context,
java.lang.Object input)
Invokes this function with a given input.
|
Modifier and Type | Method and Description |
---|---|
void |
StatefulMatchFunction.invoke(Context context,
java.lang.Object input) |
Modifier and Type | Method and Description |
---|---|
MatchBinder |
MatchBinder.otherwise(java.util.function.BiConsumer<Context,java.lang.Object> action)
Binds a default action for inputs that fail to match any of the patterns bind via the
MatchBinder.predicate(Class, Predicate, BiConsumer) and MatchBinder.predicate(Class, BiConsumer) methods. |
<T> MatchBinder |
MatchBinder.predicate(java.lang.Class<T> type,
java.util.function.BiConsumer<Context,T> action)
Binds a simple type pattern which matches on the input's type.
|
<T> MatchBinder |
MatchBinder.predicate(java.lang.Class<T> type,
java.util.function.Predicate<T> predicate,
java.util.function.BiConsumer<Context,T> action)
Binds a pattern which matches on a function's input type, as well as a conditional predicate on
the input object's state.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.