Package com.vaadin.data
Interface ErrorMessageProvider
-
- All Superinterfaces:
Function<ValueContext,String>
,Serializable
,SerializableFunction<ValueContext,String>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ErrorMessageProvider extends SerializableFunction<ValueContext,String>
Provider interface for generating localizable error messages usingValueContext
.- Since:
- 8.0
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
apply(ValueContext context)
Returns a generated error message for givenValueContext
.
-
-
-
Method Detail
-
apply
String apply(ValueContext context)
Returns a generated error message for givenValueContext
.- Specified by:
apply
in interfaceFunction<ValueContext,String>
- Parameters:
context
- the value context- Returns:
- generated error message
-
-