com.microsoft.tfs.core.clients.versioncontrol.offline
Interface OfflineSynchronizerProvider

All Known Implementing Classes:
OfflineSynchronizerPathProvider

public interface OfflineSynchronizerProvider

OfflineSynchronizerProvider is the interface for providing paths to OfflineSynchronizer. It exists to allow clients to pass opaque types ("resources") to the offline engine.

Since:
TEE-SDK-10.1
Thread-safety:
thread-compatible

Method Summary
 java.lang.String getLocalPathForResource(java.lang.Object resource)
          Given an implementor-defined "resource", it will return the local path which corresponds.
 java.lang.Object[] getResources()
          This is the list of resources (of some opaque type) which will be brought back online.
 

Method Detail

getResources

java.lang.Object[] getResources()
This is the list of resources (of some opaque type) which will be brought back online. The offline engine will call getPathForResource() on these types to determine their local path.

Returns:
An array of objects which represent the

getLocalPathForResource

java.lang.String getLocalPathForResource(java.lang.Object resource)
Given an implementor-defined "resource", it will return the local path which corresponds.

Parameters:
resource - An internally-defined resource
Returns:
The local path


© 2015 Microsoft. All rights reserved.