| com.sun.midp.installer.InstallListener
All known Subclasses: com.sun.midp.installer.CHAutoTester, com.sun.midp.scriptutil.CommandLineInstaller,
InstallListener | public interface InstallListener (Code) | | Enables a MIDlet to respond installation warnings and status updates.
|
Method Summary | |
public boolean | confirmAuthPath(InstallState state) Called with the current state of the install so the user can be
asked to confirm the authentication path.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. | public boolean | confirmJarDownload(InstallState state) Called with the current state of the install so the user can be
asked to confirm the jar download.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. | public boolean | keepRMS(InstallState state) Called with the current state of the install so the user can be
asked to confirm if the RMS data should be kept for new version of
an updated suite.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. | public void | updateStatus(int status, InstallState state) Called with the current status of the install. | public boolean | warnUser(InstallState state) Called with the current state of the install so the user can be
asked to override the warning. |
confirmAuthPath | public boolean confirmAuthPath(InstallState state)(Code) | | Called with the current state of the install so the user can be
asked to confirm the authentication path.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. true if the user wants to continue, false to stop the install |
confirmJarDownload | public boolean confirmJarDownload(InstallState state)(Code) | | Called with the current state of the install so the user can be
asked to confirm the jar download.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. true if the user wants to continue, false to stop the install |
keepRMS | public boolean keepRMS(InstallState state)(Code) | | Called with the current state of the install so the user can be
asked to confirm if the RMS data should be kept for new version of
an updated suite.
If false is returned, the an I/O exception thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. true if the user wants to keep the RMS data for the next suite |
updateStatus | public void updateStatus(int status, InstallState state)(Code) | | Called with the current status of the install. See
Installer for the status codes.
Parameters: status - current status of the install. Parameters: state - current state of the install. |
warnUser | public boolean warnUser(InstallState state)(Code) | | Called with the current state of the install so the user can be
asked to override the warning. To get the warning from the state
call
InstallState.getLastException . If false is returned,
the last exception in the state will be thrown and
Installer.wasStopped will return true if called.
Parameters: state - current state of the install. true if the user wants to continue, false to stop the install |
|
|