public class SyncInfoSetChangeEvent extends Object implements ISyncInfoSetChangeEvent
SyncInfoSetSyncInfoSet| Constructor and Description |
|---|
SyncInfoSetChangeEvent(SyncInfoSet set) |
| Modifier and Type | Method and Description |
|---|---|
void |
added(SyncInfo info) |
void |
changed(SyncInfo info) |
void |
errorOccurred(ITeamStatus status) |
SyncInfo[] |
getAddedResources()
Returns newly added out-of-sync
SyncInfo elements. |
SyncInfo[] |
getChangedResources()
Returns changed
SyncInfo elements. |
ITeamStatus[] |
getErrors() |
IResource[] |
getRemovedResources()
Returns the removed
IResource elements for which the set no longer
contains on out-of-sync SyncInfo. |
SyncInfoSet |
getSet()
Returns the
SyncInfoSet that generated these events. |
boolean |
isEmpty() |
boolean |
isReset() |
void |
removed(IResource resource) |
void |
reset() |
public SyncInfoSetChangeEvent(SyncInfoSet set)
public void added(SyncInfo info)
public void removed(IResource resource)
public void changed(SyncInfo info)
public SyncInfo[] getAddedResources()
ISyncInfoSetChangeEventSyncInfo elements.getAddedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain added resources.public SyncInfo[] getChangedResources()
ISyncInfoSetChangeEventSyncInfo elements. The returned elements
are still out-of-sync.getChangedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain changes resources.public IResource[] getRemovedResources()
ISyncInfoSetChangeEventIResource elements for which the set no longer
contains on out-of-sync SyncInfo. The returned elements
are all in-sync resources.getRemovedResources in interface ISyncInfoSetChangeEventSyncInfo elements or an empty list if this event
doesn't contain removed resources.public SyncInfoSet getSet()
ISyncInfoSetChangeEventSyncInfoSet that generated these events.getSet in interface ISyncInfoSetChangeEventSyncInfoSet that generated these events.public void reset()
public boolean isReset()
public boolean isEmpty()
public void errorOccurred(ITeamStatus status)
public ITeamStatus[] getErrors()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.