Interface SyncCache

All Known Subinterfaces:
SyncCacheEditor
All Known Implementing Classes:
InMemorySyncCacheEditor

public interface SyncCache
The Interface Synchronization cache whitch allows by source file full path to get synchronized files (project relative path) in translated project.
See Also:
  • Method Details

    • getProject

      ITranslatedProject getProject()
      Gets the translated project.
      Returns:
      the project, cannot return null.
    • getSynchronizedResources

      Collection<org.eclipse.core.runtime.IPath> getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath)
      Gets the synchronized resources.
      Parameters:
      fullSourcePath - the full source path, cannot be null.
      Returns:
      the synchronized project relative file path in translated project, cannot return null.
    • getSynchronizedResources

      Collection<org.eclipse.core.runtime.IPath> getSynchronizedResources(org.eclipse.core.runtime.IPath fullSourcePath, String synchronizerId)
      Gets the synchronized resources.
      Parameters:
      fullSourcePath - the full source path, cannot be null.
      synchronizerId - the synchronizer id, cannot be null.
      Returns:
      the synchronized project relative file path in translated project, cannot return null.
    • allSynchronizedResources

      Collection<org.eclipse.core.runtime.IPath> allSynchronizedResources()
      Gets all synchronized resources.
      Returns:
      the collection of synchronized project relative file paths in translated project, cannot return null.