public interface UnattendedProgressInterface extends ProgressInterface
This class adds a few methods to the default ProgressInterface
interface that are only
relevant in unattended mode.
ProgressInterface
,
Context.getProgressInterface()
OVERWRITE_ALL, OVERWRITE_NEVER, OVERWRITE_NO, OVERWRITE_YES, RETRY_CANCEL, RETRY_NO, RETRY_YES
Modifier and Type | Method and Description |
---|---|
boolean |
isAskForProxy()
Called if no internet connection is available for a download.
|
void |
setCancelButtonEnabled(boolean enabled)
Called if the cancel button is enabled or disabled.
|
void |
setCancelButtonVisible(boolean visible)
Called if the cancel button is made visible or invisible.
|
void |
setVisible(boolean visible)
Called when the progress interface is created and destroyed.
|
askContinue, askOverwrite, askRetry, getPercentCompleted, setDetailMessage, setIndeterminateProgress, setPercentCompleted, setSecondaryPercentCompleted, setStatusMessage, showFailure
void setVisible(boolean visible)
true
, at exit it is called with a
parameter of false
. You should use this method for the lif-cycle of a window or similar resources.visible
- true
at startup and false
at exitvoid setCancelButtonEnabled(boolean enabled)
enabled
- true
or false
WizardContext.setControlButtonEnabled(ControlButtonType, boolean)
void setCancelButtonVisible(boolean visible)
visible
- true
or false
WizardContext.setControlButtonVisible(ControlButtonType, boolean)
boolean isAskForProxy()
true
if a GUI dialog should be displayed that asks the user for proxy information
or false
if the download should fail.