Class SnapshotConfigurationManager

java.lang.Object
com.e1c.g5.v8.internal.snapshot.participation.SnapshotConfigurationManager

public class SnapshotConfigurationManager extends Object
Manages snapshot configuration gathering.
  • Constructor Details

    • SnapshotConfigurationManager

      @Inject public SnapshotConfigurationManager(ParticipantsRegistry participantsRegistry)
      Constructs the manager.
      Parameters:
      participantsRegistry - the snapshot participants registry, cannot be null
  • Method Details

    • getSnapshotConfiguration

      public ISnapshotConfiguration getSnapshotConfiguration(org.eclipse.core.resources.IProject project)
      Gets snapshot configuration for the project.
      Parameters:
      project - the project, cannot be null
      Returns:
      snapshot configuration, never null
    • getParticipantFormatVersions

      public Map<String,Integer> getParticipantFormatVersions()
      Gets format versions of registered snapshot participants.
      Returns:
      the map from participant id to its format version, never null