public interface SuiteListener
Modifier and Type | Method and Description |
---|---|
void |
notifySuiteStateChanged(SuiteManagementTracker tracker,
SuiteState newState)
Notifies a listener that suite state has changed.
|
void notifySuiteStateChanged(SuiteManagementTracker tracker, SuiteState newState)
INSTALLATION_FAILED
argument.
The tracker
argument is assigned to a Suite
object
that can be retrieved using the SuiteManagementTracker.getSuite()
method:
newState
argument is equal to
INSTALLED
the newly created
Suite
instance;
newState
argument is equal to
REMOVED
the Suite
instance
of the suite that has been removed right now;
newState
argument is equal to
INSTALLED
or
INSTALLING
the Suite
instance that has been existing before.
tracker
- the instance of SuiteManagementTracker
that has
been created when the installation of the Suite
has been
initiated. In case the newState
is equal to
REMOVED
, it is possible that the
tracker
argument is not equal to the one that has
been created at installation time though, as the device may have
been rebooted meanwhile of the VM has been restarted.newState
- the new state of the suiteCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.