Class SyncInfoSetChangeEvent
java.lang.Object
org.eclipse.team.core.synchronize.SyncInfoSetChangeEvent
- All Implemented Interfaces:
ISyncInfoSetChangeEvent
This event keeps track of the changes in a
SyncInfoSet
- Since:
- 3.5
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
errorOccurred
(ITeamStatus status) SyncInfo[]
Returns newly added out-of-syncSyncInfo
elements.SyncInfo[]
Returns changedSyncInfo
elements.Returns the removedIResource
elements for which the set no longer contains on out-of-syncSyncInfo
.getSet()
Returns theSyncInfoSet
that generated these events.boolean
isEmpty()
boolean
isReset()
void
void
reset()
-
Constructor Details
-
SyncInfoSetChangeEvent
-
-
Method Details
-
added
-
removed
-
changed
-
getAddedResources
Description copied from interface:ISyncInfoSetChangeEvent
Returns newly added out-of-syncSyncInfo
elements.- Specified by:
getAddedResources
in interfaceISyncInfoSetChangeEvent
- Returns:
- newly added
SyncInfo
elements or an empty list if this event doesn't contain added resources.
-
getChangedResources
Description copied from interface:ISyncInfoSetChangeEvent
Returns changedSyncInfo
elements. The returned elements are still out-of-sync.- Specified by:
getChangedResources
in interfaceISyncInfoSetChangeEvent
- Returns:
- changed
SyncInfo
elements or an empty list if this event doesn't contain changes resources.
-
getRemovedResources
Description copied from interface:ISyncInfoSetChangeEvent
Returns the removedIResource
elements for which the set no longer contains on out-of-syncSyncInfo
. The returned elements are all in-sync resources.- Specified by:
getRemovedResources
in interfaceISyncInfoSetChangeEvent
- Returns:
- removed
SyncInfo
elements or an empty list if this event doesn't contain removed resources.
-
getSet
Description copied from interface:ISyncInfoSetChangeEvent
Returns theSyncInfoSet
that generated these events.- Specified by:
getSet
in interfaceISyncInfoSetChangeEvent
- Returns:
- the
SyncInfoSet
that generated these events.
-
reset
public void reset() -
isReset
public boolean isReset() -
isEmpty
public boolean isEmpty() -
errorOccurred
-
getErrors
-