Record Class NuggetIntrospection.Overview
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.Overview
- Record Components:
status- safe Phase 7.1 nugget statusruntime- runtime summaryhealth- health summaryreadiness- readiness summarypartial- whether optional data is partialwarnings- safe warnings
- Enclosing class:
NuggetIntrospection
public static record NuggetIntrospection.Overview(NuggetStatus status, NuggetIntrospection.RuntimeSummary runtime, NuggetIntrospection.HealthSummary health, NuggetIntrospection.ReadinessSummary readiness, boolean partial, List<String> warnings)
extends Record
Nugget overview.
-
Constructor Summary
ConstructorsConstructorDescriptionOverview(NuggetStatus status, NuggetIntrospection.RuntimeSummary runtime, NuggetIntrospection.HealthSummary health, NuggetIntrospection.ReadinessSummary readiness, boolean partial, List<String> warnings) Creates immutable overview metadata. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.health()Returns the value of thehealthrecord component.booleanpartial()Returns the value of thepartialrecord component.Returns the value of thereadinessrecord component.runtime()Returns the value of theruntimerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
Overview
public Overview(NuggetStatus status, NuggetIntrospection.RuntimeSummary runtime, NuggetIntrospection.HealthSummary health, NuggetIntrospection.ReadinessSummary readiness, boolean partial, List<String> warnings) Creates immutable overview metadata.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
status
-
runtime
-
health
-
readiness
-
partial
-
warnings
-