public class SuiteManagementTracker
extends java.lang.Object
Suite
is started (installation or update using
SuiteInstaller.start()
or removal using
SuiteManager.removeSuite(...)
). Any of those operations creates a new
tracker instance. Whether two trackers refer to the same Suite
can be found out by calling getSuite()
for both and compare the
returned Suite
instances.
The tracker instance created for a management operation is passed to any call of
SuiteListener.notifySuiteStateChanged
in
order to inform about the progress of this operation. For the installation of
a new Suite
, as long as the installation hasn't been successfully
completed, an instance of SuiteManagementTracker
is not assigned
to any Suite
instance yet as it does not exit yet. In this cases
a call to getSuite()
returns null
. In case of an update
or removal, the tracker is assigned to the existing Suite
form
the beginning, though.Modifier | Constructor and Description |
---|---|
protected |
SuiteManagementTracker()
Protected constructor to prevent explicit creation of a
SuiteManagementTracker . |
protected SuiteManagementTracker()
SuiteManagementTracker
. Instances are only created as result
of the SuiteInstaller.start()
method (for
installation or update of a Suite
), or of the
SuiteManager.removeSuite(...)
(for the removal of a Suite
).public Suite getSuite()
Suite
instance this tracker is assigned to. In case of
the installation of a new Suite
, as long as the
Suite
has not been successfully installed yet, the
value returned is always null
. In case the tracker has been
created for a suite update or removal, it is the Suite
instance of the existing suite.Suite
assigned to this tracker, or null
if the tracker has been created for the installation of a new
Suite
as long as it has not been successfully
installed yetCopyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.