protected IResource[] |
AbstractResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor) |
Collect the changes in the remote tree to the specified depth.
|
protected IResource[] |
ResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor) |
|
protected IResource[] |
ThreeWayRemoteTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor) |
|
protected IResource[] |
AbstractResourceVariantTree.collectedMembers(IResource local,
IResource[] members) |
Method that is invoked during collection to let subclasses know which members
were collected for the given resource.
|
boolean |
PersistantResourceVariantByteStore.deleteBytes(IResource resource) |
This method should be invoked by a client to indicate that it is known that
there is no remote resource associated with the local resource.
|
abstract boolean |
ResourceVariantByteStore.deleteBytes(IResource resource) |
Method called to indicate that it is known that there is no variant associated
with the local resource.
|
boolean |
SessionResourceVariantByteStore.deleteBytes(IResource resource) |
|
protected abstract void |
CachedResourceVariant.fetchContents(IProgressMonitor monitor) |
Method that is invoked when the contents of the resource variant need to
be fetched.
|
protected abstract IResourceVariant[] |
AbstractResourceVariantTree.fetchMembers(IResourceVariant variant,
IProgressMonitor progress) |
Fetch the members of the given resource variant handle.
|
protected abstract IResourceVariant |
AbstractResourceVariantTree.fetchVariant(IResource resource,
int depth,
IProgressMonitor monitor) |
Fetch the resource variant corresponding to the given resource.
|
void |
ThreeWaySynchronizer.flush(IResource resource,
int depth) |
Flush any cached bytes for the given resource to the depth specified.
|
boolean |
PersistantResourceVariantByteStore.flushBytes(IResource resource,
int depth) |
|
abstract boolean |
ResourceVariantByteStore.flushBytes(IResource resource,
int depth) |
Remove the bytes from the tree for the resource variants corresponding to the
given local resource and its descendants to the given depth.
|
boolean |
SessionResourceVariantByteStore.flushBytes(IResource resource,
int depth) |
|
void |
IResourceVariantTree.flushVariants(IResource resource,
int depth) |
Flush any variants in the tree for the given resource to the depth
specified.
|
void |
ResourceVariantTree.flushVariants(IResource resource,
int depth) |
|
byte[] |
ThreeWaySynchronizer.getBaseBytes(IResource resource) |
Return the base bytes that are cached for the given resource
or null if no base is cached.
|
byte[] |
PersistantResourceVariantByteStore.getBytes(IResource resource) |
|
abstract byte[] |
ResourceVariantByteStore.getBytes(IResource resource) |
Return the bytes for the variant corresponding the given local resource.
|
protected byte[] |
ResourceVariantTree.getBytes(IResource local,
IResourceVariant remote) |
Get the bytes to be stored in the ResourceVariantByteStore
from the given resource variant.
|
byte[] |
SessionResourceVariantByteStore.getBytes(IResource resource) |
|
protected InputStream |
CachedResourceVariant.getCachedContents() |
Return the cached contents for this resource variant or null
if the contents have not been cached.
|
byte[] |
ThreeWaySynchronizer.getRemoteBytes(IResource resource) |
Return the remote bytes that are cached for the given resource
or null if no remote is cached.
|
IResourceVariant |
IResourceVariantTree.getResourceVariant(IResource resource) |
Return the resource variant corresponding to the local resource.
|
IResourceVariant |
ThreeWayRemoteTree.getResourceVariant(IResource resource) |
|
abstract IResourceVariant |
ThreeWaySubscriber.getResourceVariant(IResource resource,
byte[] bytes) |
Create the resource variant for the given local resource from the
given bytes.
|
IStorage |
CachedResourceVariant.getStorage(IProgressMonitor monitor) |
|
IStorage |
IResourceVariant.getStorage(IProgressMonitor monitor) |
Return an instance of IStorage or null if the remote resource
does not have contents (i.e. is a folder).
|
SyncInfo |
ResourceVariantTreeSubscriber.getSyncInfo(IResource resource) |
|
protected SyncInfo |
ResourceVariantTreeSubscriber.getSyncInfo(IResource local,
IResourceVariant base,
IResourceVariant remote) |
Method that creates an instance of SyncInfo for the provided local, base and remote
resource variants.
|
boolean |
IResourceVariantTree.hasResourceVariant(IResource resource) |
Return whether the local resource has a variant in this tree.
|
boolean |
ResourceVariantTree.hasResourceVariant(IResource resource) |
|
boolean |
ThreeWaySynchronizer.hasSyncBytes(IResource resource) |
Return whether the given resource has sync bytes in the synchronizer.
|
boolean |
ThreeWaySynchronizer.isIgnored(IResource resource) |
Returns whether the resource has been marked as ignored
using setIgnored(IResource) .
|
boolean |
ThreeWaySynchronizer.isLocallyModified(IResource resource) |
Return whether the local resource has been modified since the last time
the base bytes were set.
|
boolean |
ThreeWaySubscriber.isSupervised(IResource resource) |
Returns false for resources that are not children
of a subscriber root, are ignored by the subscriber's synchronizer
or are ignored by the Team.ignoreHist(IResource) .
|
boolean |
PersistantResourceVariantByteStore.isVariantKnown(IResource resource) |
Return whether the resource variant state for this resource is known.
|
IResource[] |
IResourceVariantTree.members(IResource resource) |
Returns the members of the local resource that have resource variants in this tree.
|
IResource[] |
PersistantResourceVariantByteStore.members(IResource resource) |
|
abstract IResource[] |
ResourceVariantByteStore.members(IResource resource) |
Return the children of the given resource that have resource variants in this tree.
|
IResource[] |
ResourceVariantTree.members(IResource resource) |
|
IResource[] |
ResourceVariantTreeSubscriber.members(IResource resource) |
|
IResource[] |
ThreeWaySynchronizer.members(IResource resource) |
Return the members of the local resource that either have sync bytes
or exist locally and are not ignored.
|
IResource[] |
AbstractResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor) |
Refreshes the resource variant tree for the specified resources and possibly their descendants,
depending on the depth.
|
protected IResource[] |
AbstractResourceVariantTree.refresh(IResource resource,
int depth,
IProgressMonitor monitor) |
Helper method invoked from refresh(IResource[], int, IProgressMonitor monitor)
for each resource.
|
IResource[] |
IResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor) |
Refreshes the resource variant tree for the specified resources and possibly
their descendants, depending on the depth.
|
void |
ResourceVariantTreeSubscriber.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor) |
|
boolean |
ThreeWaySynchronizer.removeRemoteBytes(IResource resource) |
Remove the remote bytes associated with the resource.
|
void |
PersistantResourceVariantByteStore.run(IResource root,
IWorkspaceRunnable runnable,
IProgressMonitor monitor) |
|
void |
ResourceVariantByteStore.run(IResource root,
IWorkspaceRunnable runnable,
IProgressMonitor monitor) |
Run the given action which may contain multiple modifications
to the byte store.
|
void |
ThreeWaySynchronizer.run(IResource resourceRule,
IWorkspaceRunnable runnable,
IProgressMonitor monitor) |
Perform multiple sync state modifications and fire only a single change notification
at the end.
|
void |
ThreeWaySynchronizer.setBaseBytes(IResource resource,
byte[] baseBytes) |
Set the base bytes for the given resource.
|
boolean |
PersistantResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes) |
|
abstract boolean |
ResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes) |
Set the bytes for the variant corresponding the given local resource.
|
boolean |
SessionResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes) |
|
protected void |
CachedResourceVariant.setContents(InputStream stream,
IProgressMonitor monitor) |
This method should be invoked by subclasses from within their fetchContents
method in order to cache the contents for this resource variant.
|
void |
ThreeWaySynchronizer.setIgnored(IResource resource) |
Mark the resource as being ignored.
|
boolean |
ThreeWaySynchronizer.setRemoteBytes(IResource resource,
byte[] remoteBytes) |
Set the remote bytes for the given resource.
|
protected abstract boolean |
AbstractResourceVariantTree.setVariant(IResource local,
IResourceVariant remote) |
Set the variant associated with the local resource to the newly fetched resource
variant.
|
protected boolean |
ResourceVariantTree.setVariant(IResource local,
IResourceVariant remote) |
|