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 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 a Layer record class.
      Parameters:
      name - the value for the name record component
      stability - the value for the stability record component
      dependencies - the value for the dependencies record component
      managementModel - the value for the managementModel record component
      properties - the value for the properties record component
      configurations - the value for the configurations record component
      packages - the value for the packages record component
  • Method Details

    • description

      public String description()
    • note

      public String note()
    • prettyManagementModel

      public String prettyManagementModel()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • stability

      public String stability()
      Returns the value of the stability record component.
      Returns:
      the value of the stability record component
    • dependencies

      public List<Metadata.LayerDependency> dependencies()
      Returns the value of the dependencies record component.
      Returns:
      the value of the dependencies record component
    • managementModel

      public com.fasterxml.jackson.databind.node.ObjectNode managementModel()
      Returns the value of the managementModel record component.
      Returns:
      the value of the managementModel record component
    • properties

      public List<Metadata.Property> properties()
      Returns the value of the properties record component.
      Returns:
      the value of the properties record component
    • configurations

      public List<Metadata.AttributeConfiguration> configurations()
      Returns the value of the configurations record component.
      Returns:
      the value of the configurations record component
    • packages

      public Set<String> packages()
      Returns the value of the packages record component.
      Returns:
      the value of the packages record component