R - the result type.public interface Action<R extends Result>
| Modifier and Type | Method and Description |
|---|---|
void |
apply(R result)
The method is called when the interact condition matches.
|
void apply(R result) throws IOException
result - the matching result.IOException - if I/O error occurs.Copyright © 2014–2018 Alexey Gavrilov and contributors. All rights reserved.