Package com.e1c.langtool.internal.sync
Interface InternalSynchronizationService
- All Superinterfaces:
IManagedService,SynchronizationService
- All Known Implementing Classes:
ProjectSynchronizationService
The Internal SynchronizationService interface.
-
Field Summary
Fields inherited from interface com.e1c.langtool.sync.SynchronizationService
SERVICE_NAME -
Method Summary
Modifier and TypeMethodDescriptionGets the synchronizing executors pool.getSyncSettings(org.eclipse.core.resources.IProject source, org.eclipse.core.resources.IProject translated) Gets the sync settings from preference store.voidremoveSyncSettings(org.eclipse.core.resources.IProject project) Removes the sync settings for source project This method is for internal use only.org.eclipse.core.runtime.jobs.JobstartSync(org.eclipse.core.resources.IProject project) Start sync for translated project and return current active or new created job of working synchronization process.voidupdateSyncSettings(org.eclipse.core.resources.IProject source, org.eclipse.core.resources.IProject translated, SyncStrategy strategy) Update sync settings for translated project.Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivateMethods inherited from interface com.e1c.langtool.sync.SynchronizationService
addStateChangeListener, getChangeManager, getSourceChangeManager, getState, getState, getSynchronizationManager, getSynchronizationManager, removeStateChangeListener, startSync, startSyncAllProjects, syncAllProjects
-
Method Details
-
getSyncPool
ExecutorService getSyncPool()Gets the synchronizing executors pool.- Returns:
- the sync pool
-
startSync
org.eclipse.core.runtime.jobs.Job startSync(org.eclipse.core.resources.IProject project) Start sync for translated project and return current active or new created job of working synchronization process. This method is for internal use only.- Parameters:
project- the project, cannot benull.- Returns:
- the job of synchronization, cannot return
null.
-
getSyncSettings
SyncStrategy getSyncSettings(org.eclipse.core.resources.IProject source, org.eclipse.core.resources.IProject translated) Gets the sync settings from preference store. This method is for internal use only.- Parameters:
source- the source project, cannot benull.translated- the translated project, cannot benull.- Returns:
- the sync settings
-
updateSyncSettings
void updateSyncSettings(org.eclipse.core.resources.IProject source, org.eclipse.core.resources.IProject translated, SyncStrategy strategy) Update sync settings for translated project. This method is for internal use only.- Parameters:
source- the source project, cannot benull.translated- the translated project, cannot benull.strategy- the strategy, cannot benull.
-
removeSyncSettings
void removeSyncSettings(org.eclipse.core.resources.IProject project) Removes the sync settings for source project This method is for internal use only.- Parameters:
project- the source project, cannot benull.
-