Record Class StandardVersionedComponentSynchronizer.CreatedOrModifiedExtension
java.lang.Object
java.lang.Record
org.apache.nifi.flow.synchronization.StandardVersionedComponentSynchronizer.CreatedOrModifiedExtension
- Enclosing class:
StandardVersionedComponentSynchronizer
private static record StandardVersionedComponentSynchronizer.CreatedOrModifiedExtension(ComponentNode extension, Map<String,String> propertyValues)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentNodeThe field for theextensionrecord component.The field for thepropertyValuesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreatedOrModifiedExtension(ComponentNode extension, Map<String, String> propertyValues) Creates an instance of aCreatedOrModifiedExtensionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertyValuesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
extension
The field for theextensionrecord component. -
propertyValues
The field for thepropertyValuesrecord component.
-
-
Constructor Details
-
CreatedOrModifiedExtension
Creates an instance of aCreatedOrModifiedExtensionrecord class.- Parameters:
extension- the value for theextensionrecord componentpropertyValues- the value for thepropertyValuesrecord 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). -
extension
Returns the value of theextensionrecord component.- Returns:
- the value of the
extensionrecord component
-
propertyValues
Returns the value of thepropertyValuesrecord component.- Returns:
- the value of the
propertyValuesrecord component
-