Class ParticipantsRegistry
java.lang.Object
com.e1c.g5.v8.internal.snapshot.participation.ParticipantsRegistry
Snapshot participants registry.
-
Constructor Summary
ConstructorsConstructorDescriptionParticipantsRegistry
(org.eclipse.core.runtime.IExtensionRegistry extensionRegistry) Constructs the registry. -
Method Summary
Modifier and TypeMethodDescriptionGets snapshot participant by id.Gets unmodifiable 'id -> participant' map of snapshot participants.
-
Constructor Details
-
ParticipantsRegistry
@Inject public ParticipantsRegistry(org.eclipse.core.runtime.IExtensionRegistry extensionRegistry) Constructs the registry.- Parameters:
extensionRegistry
- the Eclipse extension registry, cannot benull
-
-
Method Details
-
getParticipants
Gets unmodifiable 'id -> participant' map of snapshot participants.- Returns:
- snapshot participants, never
null
.
-
get
Gets snapshot participant by id.- Parameters:
id
- participant id, cannot benull
- Returns:
- snapshot participant or
null
if not found
-