T
- The type of the responsepublic interface ResponseProvider<T>
String
.
Implementors should determine the strategy used to produce the response.Modifier and Type | Interface and Description |
---|---|
static interface |
ResponseProvider.OutputMatcher<T>
Represents a <prompt, response> pair.
|
Modifier and Type | Method and Description |
---|---|
T |
lookupResponse(String input) |
@CheckForNull T lookupResponse(String input)
input
- The prompt for which to check for a response