Record Class AnnotatedApplicationDescriptor
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.AnnotatedApplicationDescriptor
- Record Components:
group- application groupname- application nameversion- application versionapplicationClass- annotated application class nameservices- service descriptors
public record AnnotatedApplicationDescriptor(String group, String name, String version, String applicationClass, List<AnnotatedServiceDescriptor> services)
extends Record
Stable descriptor derived from annotation-first application metadata.
The descriptor is used by validation, examples, and deployment tooling to show what the application platform will activate and export. It is transport-neutral and contains no credentials, raw runtime objects, or vendor-specific adapter data.
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedApplicationDescriptor(String group, String name, String version, String applicationClass, List<AnnotatedServiceDescriptor> services) Creates an immutable descriptor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationClassrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.services()Returns the value of theservicesrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
AnnotatedApplicationDescriptor
-
-
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). -
group
-
name
-
version
-
applicationClass
Returns the value of theapplicationClassrecord component.- Returns:
- the value of the
applicationClassrecord component
-
services
-