|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.internal.resolver.StateImpl
org.eclipse.osgi.internal.resolver.UserState
public class UserState
This implementation of State does a bookkeeping of all added/removed
| Field Summary |
|---|
| Fields inherited from class org.eclipse.osgi.internal.resolver.StateImpl |
|---|
PROPS |
| Constructor Summary | |
|---|---|
UserState()
|
|
| Method Summary | |
|---|---|
StateDelta |
compare(State baseState)
Returns a delta describing the differences between this state and the given state. |
boolean |
removeBundle(BundleDescription description)
Removes the given bundle description. |
boolean |
updateBundle(BundleDescription newDescription)
Updates an existing bundle description with the given description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserState()
| Method Detail |
|---|
public boolean removeBundle(BundleDescription description)
State
removeBundle in interface StateremoveBundle in class StateImpldescription - the bundle description to be removed
true, if if the bundle description was removed,
false otherwisepublic boolean updateBundle(BundleDescription newDescription)
State
updateBundle in interface StateupdateBundle in class StateImplnewDescription - the bundle description to replace an existing one
true, if if the bundle description was updated,
false otherwise
public StateDelta compare(State baseState)
throws BundleException
StateNote that the generated StateDelta will contain BundleDeltas with one of the following types: BundleDelta.ADDED, BundleDelta.REMOVED and BundleDelta.UPDATED
baseState - the base state
BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||