Record Class ControlPanelPropertyResolutionListener.Resolution
java.lang.Object
java.lang.Record
io.micronaut.testresources.controlpanel.ControlPanelPropertyResolutionListener.Resolution
- Record Components:
property- the property which was resolvedresolvedValue- the resolved value as a stringproperties- the properties which were used for the resolution contexttestResourcesConfig- the test resources configuration of the application
- Enclosing class:
- ControlPanelPropertyResolutionListener
@Introspected
public static record ControlPanelPropertyResolutionListener.Resolution(String property, String resolvedValue, Map<String,String> properties, Map<String,String> testResourcesConfig)
extends Record
A property resolution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.property()Returns the value of thepropertyrecord component.Returns the value of theresolvedValuerecord component.Returns the value of thetestResourcesConfigrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Resolution
public Resolution(String property, String resolvedValue, Map<String, String> properties, Map<String, String> testResourcesConfig) Creates an instance of aResolutionrecord class.- Parameters:
property- the value for thepropertyrecord componentresolvedValue- the value for theresolvedValuerecord componentproperties- the value for thepropertiesrecord componenttestResourcesConfig- the value for thetestResourcesConfigrecord 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). -
property
Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
resolvedValue
Returns the value of theresolvedValuerecord component.- Returns:
- the value of the
resolvedValuerecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
testResourcesConfig
Returns the value of thetestResourcesConfigrecord component.- Returns:
- the value of the
testResourcesConfigrecord component
-