Interface Spreadsheets
public interface Spreadsheets
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSpreadsheets.StatusSubscriber -
Method Summary
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 Details
-
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
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
-