|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleDelta
BundleDeltas represent the changes related to an individual bundle between two states.
This interface is not intended to be implemented by clients. The
StateObjectFactory
should be used to construct instances.
Field Summary | |
---|---|
static int |
ADDED
Delta type constant (bit mask) indicating that the bundle has been added to the new state. |
static int |
LINKAGE_CHANGED
Deprecated. this type is no longer valid |
static int |
OPTIONAL_LINKAGE_CHANGED
Deprecated. this type is no longer valid |
static int |
REMOVAL_COMPLETE
Delta type constant (bit mask) indicating that the this bundle has completed a pending removal. |
static int |
REMOVAL_PENDING
Delta type constant (bit mask) indicating that the this bundle is pending a removal. |
static int |
REMOVED
Delta type constant (bit mask) indicating that the bundle is no longer present in the new state. |
static int |
RESOLVED
Delta type constant (bit mask) indicating that the bundle has become resolved in the new state. |
static int |
UNRESOLVED
Delta type constant (bit mask) indicating that the bundle has become unresolved in the new state. |
static int |
UPDATED
Delta type constant (bit mask) indicating that the bundle has been updated between the old and new state. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class. |
BundleDescription |
getBundle()
Returns the BundleDescription that this bundle delta is for. |
int |
getType()
Returns the type of change which occured. |
Field Detail |
---|
static final int ADDED
getType()
,
Constant Field Valuesstatic final int REMOVED
getType()
,
Constant Field Valuesstatic final int UPDATED
getType()
,
Constant Field Valuesstatic final int RESOLVED
getType()
,
Constant Field Valuesstatic final int UNRESOLVED
getType()
,
Constant Field Valuesstatic final int LINKAGE_CHANGED
getType()
,
Constant Field Valuesstatic final int OPTIONAL_LINKAGE_CHANGED
getType()
,
Constant Field Valuesstatic final int REMOVAL_PENDING
REMOVED
flag set. A bundle will have
this flag set if it has been removed from the state but has other
existing bundles in the state that depend on it.
getType()
,
Constant Field Valuesstatic final int REMOVAL_COMPLETE
Method Detail |
---|
BundleDescription getBundle()
int getType()
int compareTo(java.lang.Object obj)
The natural order of elements is determined by the bundle id of the BundleDescription that this bundle delta is for.
compareTo
in interface java.lang.Comparable
obj
- another BundleDelta an object to compare the receiver to
java.lang.ClassCastException
- if the argument can not be converted into something
comparable with the receiver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |