org.eclipse.osgi.internal.resolver
Class SystemState

java.lang.Object
  extended by org.eclipse.osgi.internal.resolver.StateImpl
      extended by org.eclipse.osgi.internal.resolver.SystemState
All Implemented Interfaces:
State

public class SystemState
extends StateImpl


Field Summary
 
Fields inherited from class org.eclipse.osgi.internal.resolver.StateImpl
PROPS
 
Constructor Summary
SystemState()
           
 
Method Summary
 StateDelta compare(State state)
          Returns a delta describing the differences between this state and the given state.
 
Methods inherited from class org.eclipse.osgi.internal.resolver.StateImpl
addBundle, addDisabledInfo, addResolverError, dynamicCacheChanged, fullyLoad, getBundle, getBundle, getBundleByLocation, getBundles, getBundles, getChanges, getDisabledBundles, getDisabledInfo, getDisabledInfos, getExportedPackages, getFactory, getHighestBundleId, getPlatformProperties, getRemovalPendings, getResolvedBundles, getResolver, getResolverErrors, getStateHelper, getSystemBundle, getSystemPackages, getTimeStamp, isEmpty, isResolved, linkDynamicImport, removeBundle, removeBundle, removeBundleComplete, removeDisabledInfo, removeResolverErrors, resolve, resolve, resolve, resolveBundle, resolveBundle, resolveConstraint, setNativePathsInvalid, setOverrides, setPlatformProperties, setPlatformProperties, setResolver, setTimeStamp, unloadLazyData, updateBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemState

public SystemState()
Method Detail

compare

public StateDelta compare(State state)
                   throws BundleException
Description copied from interface: State
Returns a delta describing the differences between this state and the given state. The given state is taken as the base so the absence of a bundle in this state is reported as a deletion, etc.

Note that the generated StateDelta will contain BundleDeltas with one of the following types: BundleDelta.ADDED, BundleDelta.REMOVED and BundleDelta.UPDATED

Parameters:
state - the base state
Returns:
a delta describing differences between this and the base state state
Throws:
BundleException


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.