Record Class Metadata.AttributeConfiguration
java.lang.Object
java.lang.Record
org.wildfly.galleon.plugin.doc.generator.Metadata.AttributeConfiguration
- Enclosing class:
Metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.Returns the value of theattributerecord component.envVars()Returns the value of theenvVarsrecord 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 thesystemPropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttributeConfiguration
public AttributeConfiguration(String address, String attribute, Set<String> systemProperties, Set<String> envVars) Creates an instance of aAttributeConfigurationrecord class.- Parameters:
address- the value for theaddressrecord componentattribute- the value for theattributerecord componentsystemProperties- the value for thesystemPropertiesrecord componentenvVars- the value for theenvVarsrecord component
-
-
Method Details
-
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). -
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
attribute
Returns the value of theattributerecord component.- Returns:
- the value of the
attributerecord component
-
systemProperties
Returns the value of thesystemPropertiesrecord component.- Returns:
- the value of the
systemPropertiesrecord component
-
envVars
Returns the value of theenvVarsrecord component.- Returns:
- the value of the
envVarsrecord component
-