Record Class ComponentSpec
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.builder.ComponentSpec
- Record Components:
component- component, alias, or factory nameparameters- constructor parameters in declaration order
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComponentSpec(String component) ComponentSpec(String component, Map<String, Object> parameters) Creates an instance of aComponentSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentrecord 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 theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
COMPONENT_KEY
- See Also:
-
-
Constructor Details
-
ComponentSpec
-
ComponentSpec
-
-
Method Details
-
toString
-
hashCode
-
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). -
component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-