Package com.vaadin.signals
Interface AbstractSignal.ResultConverter<T>
- Type Parameters:
T- the result value type
- Enclosing class:
AbstractSignal<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Converts a command result into a specific value type.
-
Method Summary
Modifier and TypeMethodDescriptionconvert(CommandResult.Accept accept) Converts an accepted command result into a result value.
-
Method Details
-
convert
Converts an accepted command result into a result value.- Parameters:
accept- the accepted command result, notnull- Returns:
- the converted value, may be
null
-