Record Class InjectionGraphStatus
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.InjectionGraphStatus
- Record Components:
bindings- configured public binding keysdiagnostics- recent safe diagnostics
public record InjectionGraphStatus(List<InjectionBindingKey> bindings, List<InjectionDiagnostic> diagnostics)
extends Record
Immutable public status for an application injection graph.
The status summarizes public binding keys and safe diagnostics. It does not expose component instances, internal runtime maps, class loaders, transport providers, or raw configuration values. The object is safe to publish in application status output.
-
Constructor Summary
ConstructorsConstructorDescriptionInjectionGraphStatus(List<InjectionBindingKey> bindings, List<InjectionDiagnostic> diagnostics) Creates an immutable status snapshot. -
Method Summary
Modifier and TypeMethodDescriptionbindings()Returns the value of thebindingsrecord component.Returns the value of thediagnosticsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InjectionGraphStatus
public InjectionGraphStatus(List<InjectionBindingKey> bindings, List<InjectionDiagnostic> diagnostics) Creates an immutable status snapshot.
-
-
Method Details
-
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). -
bindings
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-