Interface SheetChangeHandler<T>
- Type Parameters:
T- type of the data
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler for data changes in the sheet.
-
Method Summary
Modifier and TypeMethodDescriptiondefault SheetChangeHandler<T>compose(Consumer<SheetChange<T>> consumer) onChange(SheetChange<T> change) Called when data change is received.static <T> SheetChangeHandler<T>valid()
-
Method Details
-
onChange
Called when data change is received.- Parameters:
change- user changes- Returns:
- stage that will complete with collection of validation errors or empty collection when changes are valid.
-
compose
-
valid
-