Interface SynchronizerRegistry

All Known Implementing Classes:
SynchronizerRegistryImpl

public interface SynchronizerRegistry
The Synchronizer registry to get synchronizers by given file path.
See Also:
  • Field Details

    • DEFAULT_PRIORITY

      static final int DEFAULT_PRIORITY
      The default priority of synchronizers.
      See Also:
  • Method Details

    • getSynchronizers

      Collection<ResourceSynchronizer> getSynchronizers(org.eclipse.core.resources.IFile source)
      Gets the synchronizers by give source file path.
      Parameters:
      source - the source file
      Returns:
      the synchronizers, cannot return null.
    • synchronizerExist

      boolean synchronizerExist(org.eclipse.core.resources.IFile source)
      Checks if synchronizers exist in the registry.
      Parameters:
      source - the source
      Returns:
      true, if successful
    • getSynchronizePriority

      int getSynchronizePriority(org.eclipse.core.resources.IFile source)
      Gets the synchronize priority for the source file.
      Parameters:
      source - the source file
      Returns:
      the synchronize priority
    • getAllSynchronizers

      Collection<ResourceSynchronizer> getAllSynchronizers()
      Gets all synchronizers, sorted with its priority.
      Returns:
      the all synchronizers, cannot return null.
    • dependentContentComputerExist

      boolean dependentContentComputerExist(org.eclipse.core.resources.IFile source)
      Checks if dependent content computer exist in the registry for the given file.
      Parameters:
      source - the source
      Returns:
      true, if computer exists
    • getDependentContentComputers

      Collection<DependentContentComputer> getDependentContentComputers(org.eclipse.core.resources.IFile source)
      Gets the dependent content computers by the given source file.
      Parameters:
      source - the source file
      Returns:
      the dependent content computers
    • getAllDependentContentComputers

      Collection<DependentContentComputer> getAllDependentContentComputers()
      Gets the all dependent content computers.
      Returns:
      the all dependent content computers