|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.remotebuild.RBResourceDelta
public class RBResourceDelta
A merge is meant to represent a change in the state of a resource over time with the snapshot resource being "earlier" than the right.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
void |
accept(RBResourceDeltaVisitor visitor)
Accepts a resource delta visitor. |
void |
addActualMarking(RBMarking marking)
Sets the actual marking on the delta. |
void |
addIntentMarking(RBMarking marking)
Sets the intent marking on the delta. |
List |
apply(RBResourceDeltaFilter filter)
Returns a list of the nodes of the tree that have been accepted by a filter. |
RBStatus |
checkName()
Returns the status of the name for this delta. |
RBMarking |
getActualMarking()
|
RBResource |
getCurrent()
Returns the right component of the merge. |
int |
getGender()
Returns the gender for this merged resource. |
RBMarking |
getIntentMarking()
|
String |
getKey()
|
Collection<String> |
getModifiedProperties()
|
int |
getNameSpace()
Returns the name space for this merged resource. |
RBResourceDelta |
getParent()
|
String |
getRemoteName()
Returns the remote name of this resource. |
RBResource |
getResource()
Returns the "latest" resource that exists or existed. |
boolean |
hasCurrent()
Returns true if there is a right component. |
boolean |
isProject()
Returns true if this is a project resource. |
RBResourceDelta |
locate(List<String> path)
|
static RBResourceDelta |
makeDelta(RBResource current,
com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord snapshot)
Merges two RBResources and their children. |
com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord |
merge()
Returns a SnapshotRecord tree updated according to the actual marking on the delta. |
String |
toString()
|
boolean |
wasChanged()
Returns true if the node represents a change in the content of a resource. |
boolean |
wasCreated()
Returns true if the node represents the creation of a resource |
boolean |
wasDeleted()
Returns true if the node represents the deletion of a resource |
boolean |
wasTouched()
Returns true if the resource has an attribute that changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Method Detail |
---|
public static RBResourceDelta makeDelta(RBResource current, com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord snapshot)
public boolean wasDeleted()
public boolean wasCreated()
public boolean wasTouched()
public boolean wasChanged()
public RBResource getCurrent()
public boolean hasCurrent()
public com.ibm.etools.iseries.projects.internal.snapshots.SnapshotRecord merge()
public List apply(RBResourceDeltaFilter filter)
public final void accept(RBResourceDeltaVisitor visitor)
public RBResource getResource()
public String getKey()
public Collection<String> getModifiedProperties()
public String getRemoteName()
public int getGender()
public int getNameSpace()
public boolean isProject()
public RBStatus checkName()
public RBResourceDelta getParent()
public void addIntentMarking(RBMarking marking)
public RBMarking getIntentMarking()
public void addActualMarking(RBMarking marking)
public RBMarking getActualMarking()
public RBResourceDelta locate(List<String> path)
public String toString()
toString
in class Object
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |