public interface InterruptibleProcess2
DesktopProcessRunner
or ServerProcessRunner
Thus, complex processes can be used in different context without code duplication.Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getFinalMessage() |
java.lang.String |
getName()
Returns the name of the process to be shown to user in case of cancel decision
|
void |
perform(DataObjectConstructionDetails docd,
AliveConfirmer aliveConfirmer,
StatusInfoPresenter statusInfoPresenter)
Perform the interruptible process.
|
java.lang.String getName()
void perform(DataObjectConstructionDetails docd, AliveConfirmer aliveConfirmer, StatusInfoPresenter statusInfoPresenter)
docd
- the DataObjectConstructionDetails to use - these details may differ from session's details due to separate connection definitions for each thread.aliveConfirmer
- something to confirm that the process should still runstatusInfoPresenter
- a receiver of information about the progress of this processdefault java.lang.String getFinalMessage()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de