public class SuiteInstaller
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addInstallationListener(AppInstallListener listener)
Adds an
AppInstallListener to this suite installer. |
void |
cancel()
Cancel the installation.
|
void |
removeInstallationListener(AppInstallListener listener)
Removes an
AppInstallListener from this suite installer. |
void |
start()
Begins installation of the suite.
|
public void addInstallationListener(AppInstallListener listener)
AppInstallListener
to this suite installer.
The installed listener implements the AppInstallListener
interface. There is no limitation to add AppInstallListeners
.listener
- the installation progress listener to be addedpublic void removeInstallationListener(AppInstallListener listener)
AppInstallListener
from this suite installer.listener
- the installation progress listener to be removedpublic void start()
An AppInstallListener
must be assigned and ready
in order to handle callback requests.
This method returns immediately; the caller can observe the
progress of the installation via the AppInstallListener
added.
public void cancel()
If installation is not in progress this method has no effect.
Copyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.