Record Class Metadata.Layer
java.lang.Object
java.lang.Record
org.wildfly.galleon.plugin.doc.generator.Metadata.Layer
- Enclosing class:
Metadata
public static record Metadata.Layer(String name, String stability, List<Metadata.LayerDependency> dependencies, com.fasterxml.jackson.databind.node.ObjectNode managementModel, List<Metadata.Property> properties, List<Metadata.AttributeConfiguration> configurations, Set<String> packages)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLayer(String name, String stability, List<Metadata.LayerDependency> dependencies, com.fasterxml.jackson.databind.node.ObjectNode managementModel, List<Metadata.Property> properties, List<Metadata.AttributeConfiguration> configurations, Set<String> packages) Creates an instance of aLayerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationsrecord component.Returns the value of thedependenciesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.node.ObjectNodeReturns the value of themanagementModelrecord component.name()Returns the value of thenamerecord component.note()packages()Returns the value of thepackagesrecord component.Returns the value of thepropertiesrecord component.Returns the value of thestabilityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Layer
public Layer(String name, String stability, List<Metadata.LayerDependency> dependencies, com.fasterxml.jackson.databind.node.ObjectNode managementModel, List<Metadata.Property> properties, List<Metadata.AttributeConfiguration> configurations, Set<String> packages) Creates an instance of aLayerrecord class.- Parameters:
name- the value for thenamerecord componentstability- the value for thestabilityrecord componentdependencies- the value for thedependenciesrecord componentmanagementModel- the value for themanagementModelrecord componentproperties- the value for thepropertiesrecord componentconfigurations- the value for theconfigurationsrecord componentpackages- the value for thepackagesrecord component
-
-
Method Details
-
description
-
note
-
prettyManagementModel
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
stability
Returns the value of thestabilityrecord component.- Returns:
- the value of the
stabilityrecord component
-
dependencies
Returns the value of thedependenciesrecord component.- Returns:
- the value of the
dependenciesrecord component
-
managementModel
public com.fasterxml.jackson.databind.node.ObjectNode managementModel()Returns the value of themanagementModelrecord component.- Returns:
- the value of the
managementModelrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
configurations
Returns the value of theconfigurationsrecord component.- Returns:
- the value of the
configurationsrecord component
-
packages
Returns the value of thepackagesrecord component.- Returns:
- the value of the
packagesrecord component
-