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
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theproperties
record component.property()
Returns the value of theproperty
record component.Returns the value of theresolvedValue
record component.Returns the value of thetestResourcesConfig
record component.final String
toString()
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 aResolution
record class.- Parameters:
property
- the value for theproperty
record componentresolvedValue
- the value for theresolvedValue
record componentproperties
- the value for theproperties
record componenttestResourcesConfig
- the value for thetestResourcesConfig
record 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 theproperty
record component.- Returns:
- the value of the
property
record component
-
resolvedValue
Returns the value of theresolvedValue
record component.- Returns:
- the value of the
resolvedValue
record component
-
properties
Returns the value of theproperties
record component.- Returns:
- the value of the
properties
record component
-
testResourcesConfig
Returns the value of thetestResourcesConfig
record component.- Returns:
- the value of the
testResourcesConfig
record component
-