Record Class ManagedHostedResources.Bundle
java.lang.Object
java.lang.Record
org.j7m.middleware.application.components.ManagedHostedResources.Bundle
- Record Components:
artifactDigest- host-verified lowercase SHA-256 of the complete deployed artifactsemanticConfiguration- immutable deterministic configuration snapshot
- Enclosing class:
ManagedHostedResources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactDigestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesemanticConfigurationrecord component.toString()Returns a diagnostic omitting configuration values.
-
Constructor Details
-
Bundle
Validates the verified identity and bounds/copies configuration without logging values.- Parameters:
artifactDigest- exact verified artifact hashsemanticConfiguration- at most256 entries and65536 total characters- Throws:
IllegalArgumentException- for malformed digest or excessive configurationNullPointerException- for null configuration members
-
-
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). -
artifactDigest
Returns the value of theartifactDigestrecord component.- Returns:
- the value of the
artifactDigestrecord component
-
semanticConfiguration
Returns the value of thesemanticConfigurationrecord component.- Returns:
- the value of the
semanticConfigurationrecord component
-