Record Class NuggetIntrospection.ApplicationSummary
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.ApplicationSummary
- Record Components:
applicationId- application idcoordinate- coordinate summaryinstanceId- instance iddisplayName- display nameversion- application versionstate- lifecycle stateactivationId- activation idexportedServiceCount- exported service counthealth- health statereadiness- readiness statelastSafeErrorCode- last safe error codemetadata- redacted metadata
- Enclosing class:
NuggetIntrospection
public static record NuggetIntrospection.ApplicationSummary(String applicationId, String coordinate, String instanceId, String displayName, String version, String state, String activationId, int exportedServiceCount, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, String lastSafeErrorCode, Map<String,String> metadata)
extends Record
Application summary projection.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationSummary(String applicationId, String coordinate, String instanceId, String displayName, String version, String state, String activationId, int exportedServiceCount, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, String lastSafeErrorCode, Map<String, String> metadata) Creates immutable application summary metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivationIdrecord component.Returns the value of theapplicationIdrecord component.Returns the value of thecoordinaterecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexportedServiceCountrecord component.final inthashCode()Returns a hash code value for this object.health()Returns the value of thehealthrecord component.Returns the value of theinstanceIdrecord component.Returns the value of thelastSafeErrorCoderecord component.metadata()Returns the value of themetadatarecord component.Returns the value of thereadinessrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ApplicationSummary
public ApplicationSummary(String applicationId, String coordinate, String instanceId, String displayName, String version, String state, String activationId, int exportedServiceCount, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, String lastSafeErrorCode, Map<String, String> metadata) Creates immutable application summary 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. -
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
instanceId
Returns the value of theinstanceIdrecord component.- Returns:
- the value of the
instanceIdrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
version
-
state
-
activationId
Returns the value of theactivationIdrecord component.- Returns:
- the value of the
activationIdrecord component
-
exportedServiceCount
public int exportedServiceCount()Returns the value of theexportedServiceCountrecord component.- Returns:
- the value of the
exportedServiceCountrecord component
-
health
-
readiness
-
lastSafeErrorCode
Returns the value of thelastSafeErrorCoderecord component.- Returns:
- the value of the
lastSafeErrorCoderecord component
-
metadata
-