Class ResetPasswordView.ResetPasswordBackgroundTask
java.lang.Object
io.jmix.flowui.backgroundtask.BackgroundTask<Integer,List<UserPasswordValue>>
 
io.jmix.securityflowui.view.resetpassword.ResetPasswordView.ResetPasswordBackgroundTask
- Enclosing class:
- ResetPasswordView
protected class ResetPasswordView.ResetPasswordBackgroundTask
extends BackgroundTask<Integer,List<UserPasswordValue>> 
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.backgroundtask.BackgroundTaskBackgroundTask.ProgressListener<T,V>, BackgroundTask.ProgressListenerAdapter<T, V> 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddone(List<UserPasswordValue> result) Called by the execution environment in UI thread when the task is completed.voidCalled by the execution environment in UI thread on progress change.run(TaskLifeCycle<Integer> taskLifeCycle) Main method that performs a task.Methods inherited from class io.jmix.flowui.backgroundtask.BackgroundTaskaddProgressListener, canceled, getOwnerView, getParams, getProgressListeners, getTimeoutMilliseconds, getTimeoutSeconds, handleException, handleTimeoutException, removeProgressListener
- 
Field Details- 
usernamePasswordMap
- 
saveContext
 
- 
- 
Constructor Details- 
ResetPasswordBackgroundTaskpublic ResetPasswordBackgroundTask()
 
- 
- 
Method Details- 
runDescription copied from class:BackgroundTaskMain method that performs a task.
 Called by the execution environment in a separate working thread.
 Implementation of this method should support interruption:- In long loops check TaskLifeCycle.isInterrupted()and return if it is true
- Don't swallow InterruptedException- return from the method or don't catch it at all
 - Specified by:
- runin class- BackgroundTask<Integer,- List<UserPasswordValue>> 
- Parameters:
- taskLifeCycle- lifecycle object that allows the main method to interact with the execution environment
- Returns:
- task result
- Throws:
- Exception- exception in working thread
 
- In long loops check 
- 
progressDescription copied from class:BackgroundTaskCalled by the execution environment in UI thread on progress change.- Overrides:
- progressin class- BackgroundTask<Integer,- List<UserPasswordValue>> 
- Parameters:
- changes- list of changes since previous invocation
 
- 
doneDescription copied from class:BackgroundTaskCalled by the execution environment in UI thread when the task is completed.- Overrides:
- donein class- BackgroundTask<Integer,- List<UserPasswordValue>> 
- Parameters:
- result- result of execution returned by- BackgroundTask.run(TaskLifeCycle)method
 
 
-