Record Class ApplicationDescriptor
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationDescriptor
- Record Components:
manifest- parsed manifestartifacts- artifacts belonging to the application
public record ApplicationDescriptor(ApplicationManifest manifest, List<ApplicationArtifact> artifacts)
extends Record
Immutable descriptor combining manifest and bundle artifacts.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationDescriptor(ApplicationManifest manifest, List<ApplicationArtifact> artifacts) Creates a descriptor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.manifest()Returns the value of themanifestrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplicationDescriptor
Creates a descriptor.
-
-
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). -
manifest
-
artifacts
-