Interface Spreadsheets
-
public interface Spreadsheets
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSpreadsheets.StatusSubscriber
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Sheet<Map<String,Object>>>create(Consumer<SheetOptions.Builder<Map<String,Object>,?>> options)CompletionStage<AsynchronousCloseable>status(Spreadsheets.StatusSubscriber subscriber)Registers a status subscribers.
-
-
-
Method Detail
-
create
CompletionStage<Sheet<Map<String,Object>>> create(Consumer<SheetOptions.Builder<Map<String,Object>,?>> options)
- Parameters:
options- function that builds sheet options- Returns:
- stage that will complete when the sheet is created
-
status
CompletionStage<AsynchronousCloseable> status(Spreadsheets.StatusSubscriber subscriber)
Registers a status subscribers.On registration the subscriber will be called with the current status.
- Parameters:
subscriber- function to be called when status is changed- Returns:
- stage that will complete when the subscribers is registered
-
-