public interface BatchControllable extends Controllable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP_TERMINATION_ALLOWED_WITHOUT_CONFIRMATION |
static java.lang.String |
GROUP_TERMINATION_NOT_ALLOWED |
static java.lang.String |
GROUP_TERMINATION_REQUIRES_CONFIRMATION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the process to be shown to user in case of cancel decision
|
boolean |
requiresUserConfirmationToTerminate()
Returns true of process requires user confirmation to terminate it.
|
void |
terminate()
Terminates the thread.
|
addThreadDoneListener, runCore, setThreadController, start
static final java.lang.String GROUP_TERMINATION_NOT_ALLOWED
static final java.lang.String GROUP_TERMINATION_REQUIRES_CONFIRMATION
static final java.lang.String GROUP_TERMINATION_ALLOWED_WITHOUT_CONFIRMATION
java.lang.String getName()
boolean requiresUserConfirmationToTerminate()
void terminate()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de