Record Class ApplicationActivation
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationActivation
- Record Components:
activationIdentity- activation idinstanceIdentity- application instance identitystate- current lifecycle stateexportedServices- exported service identitiesmetadata- safe status metadata
public record ApplicationActivation(ActivationIdentity activationIdentity, ApplicationInstanceIdentity instanceIdentity, ApplicationRunState state, List<RuntimeServiceIdentity> exportedServices, Map<String,String> metadata)
extends Record
Immutable activation status snapshot.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationActivation(ActivationIdentity activationIdentity, ApplicationInstanceIdentity instanceIdentity, ApplicationRunState state, List<RuntimeServiceIdentity> exportedServices, Map<String, String> metadata) Creates immutable activation status. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivationIdentityrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexportedServicesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstanceIdentityrecord component.metadata()Returns the value of themetadatarecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplicationActivation
public ApplicationActivation(ActivationIdentity activationIdentity, ApplicationInstanceIdentity instanceIdentity, ApplicationRunState state, List<RuntimeServiceIdentity> exportedServices, Map<String, String> metadata) Creates immutable activation status.
-
-
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). -
activationIdentity
Returns the value of theactivationIdentityrecord component.- Returns:
- the value of the
activationIdentityrecord component
-
instanceIdentity
Returns the value of theinstanceIdentityrecord component.- Returns:
- the value of the
instanceIdentityrecord component
-
state
-
exportedServices
Returns the value of theexportedServicesrecord component.- Returns:
- the value of the
exportedServicesrecord component
-
metadata
-