Class ParticipantsRegistry

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

public class ParticipantsRegistry extends Object
Snapshot participants registry.
  • Constructor Details

    • ParticipantsRegistry

      @Inject public ParticipantsRegistry(org.eclipse.core.runtime.IExtensionRegistry extensionRegistry)
      Constructs the registry.
      Parameters:
      extensionRegistry - the Eclipse extension registry, cannot be null
  • Method Details

    • getParticipants

      public Map<String,ISnapshotParticipant> getParticipants()
      Gets unmodifiable 'id -> participant' map of snapshot participants.
      Returns:
      snapshot participants, never null.
    • get

      public ISnapshotParticipant get(String id)
      Gets snapshot participant by id.
      Parameters:
      id - participant id, cannot be null
      Returns:
      snapshot participant or null if not found