Package io.jmix.flowui.asynctask
Class UiAsyncTasks.AbstractAsyncTaskConfigurer
java.lang.Object
io.jmix.flowui.asynctask.UiAsyncTasks.AbstractAsyncTaskConfigurer
- Direct Known Subclasses:
UiAsyncTasks.RunnableConfigurer,UiAsyncTasks.SupplierConfigurer
- Enclosing class:
UiAsyncTasks
Abstract base class for asynchronous task builders.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.Componentprotected com.vaadin.flow.shared.Registrationprotected intprotected TimeUnitprotected com.vaadin.flow.component.UI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureExceptionHandler(CompletableFuture<Void> completableFuture) protected voidconfigureOwner(CompletableFuture<Void> resultCompletableFuture, CompletableFuture<?>... taskCompletableFutures) protected voidconfigureTimeout(CompletableFuture<Void> resultCompletableFuture) protected voidprotected voidsetOwner(com.vaadin.flow.component.Component owner)
-
Field Details
-
exceptionHandler
-
ui
protected com.vaadin.flow.component.UI ui -
owner
protected com.vaadin.flow.component.Component owner -
ownerDetachRegistration
protected com.vaadin.flow.shared.Registration ownerDetachRegistration -
timeout
protected int timeout -
timeoutUnit
-
-
Constructor Details
-
AbstractAsyncTaskConfigurer
public AbstractAsyncTaskConfigurer()
-
-
Method Details
-
configureTimeout
-
configureExceptionHandler
-
configureOwner
protected void configureOwner(CompletableFuture<Void> resultCompletableFuture, CompletableFuture<?>... taskCompletableFutures) -
removeOwnerDetachListener
protected void removeOwnerDetachListener() -
setOwner
protected void setOwner(com.vaadin.flow.component.Component owner)
-