public class BundleRevisionsImpl extends BundleReferenceImpl implements BundleRevisions
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BundleRevision> |
getRevisions()
Return the bundle revisions for the
referenced bundle. |
getBundleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBundlepublic java.util.List<BundleRevision> getRevisions()
BundleRevisionsreferenced bundle.
The result is a list containing the current bundle revision, if there is one, and all in use bundle revisions. The list may also contain intermediate bundle revisions which are not in use.
The list is ordered in reverse chronological order such that the first item is the most recent bundle revision and last item is the oldest bundle revision.
Generally the list will have at least one bundle revision for the bundle: the current bundle revision. However, for an uninstalled bundle with no in use bundle revisions, the list may be empty.
getRevisions in interface BundleRevisionsBundleRevisions for
the referenced bundle.