Record Class ProcessingGroupRegistry
java.lang.Object
java.lang.Record
app.dodb.smd.api.event.ProcessingGroupRegistry
public record ProcessingGroupRegistry(Map<String, ProcessingGroupRegistry.EventHandlerRegistry> eventHandlerRegistryByProcessingGroup)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionProcessingGroupRegistry(Map<String, ProcessingGroupRegistry.EventHandlerRegistry> eventHandlerRegistryByProcessingGroup) Creates an instance of aProcessingGroupRegistryrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncombine(ProcessingGroupRegistry other) static ProcessingGroupRegistryempty()final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventHandlerRegistryByProcessingGrouprecord component.static ProcessingGroupRegistryfrom(Set<AnnotatedEventHandler<?>> eventHandlers) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcessingGroupRegistry
public ProcessingGroupRegistry(Map<String, ProcessingGroupRegistry.EventHandlerRegistry> eventHandlerRegistryByProcessingGroup) Creates an instance of aProcessingGroupRegistryrecord class.- Parameters:
eventHandlerRegistryByProcessingGroup- the value for theeventHandlerRegistryByProcessingGrouprecord component
-
-
Method Details
-
empty
-
from
-
findBy
-
combine
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
eventHandlerRegistryByProcessingGroup
public Map<String, ProcessingGroupRegistry.EventHandlerRegistry> eventHandlerRegistryByProcessingGroup()Returns the value of theeventHandlerRegistryByProcessingGrouprecord component.- Returns:
- the value of the
eventHandlerRegistryByProcessingGrouprecord component
-