Interface ConditionalAnswerBuilder<T>
-
- Type Parameters:
T- the type of the message
- All Known Subinterfaces:
AnswerStep1Builder<T>
- All Known Implementing Classes:
AnswerBuilder
public interface ConditionalAnswerBuilder<T>Step, that adds a condition, when the answer should be applied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnswerStep1Builder<T>onlyIf(Predicate<T> condition)
-
-
-
Method Detail
-
onlyIf
AnswerStep1Builder<T> onlyIf(Predicate<T> condition)
-
-