Record Class HoldInput.FlowFileSession
java.lang.Object
java.lang.Record
org.apache.nifi.processors.tests.system.HoldInput.FlowFileSession
- Enclosing class:
HoldInput
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFlowFileSession(org.apache.nifi.processor.ProcessSession session, List<org.apache.nifi.flowfile.FlowFile> flowFiles) Creates an instance of aFlowFileSessionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.List<org.apache.nifi.flowfile.FlowFile> Returns the value of theflowFilesrecord component.final inthashCode()Returns a hash code value for this object.org.apache.nifi.processor.ProcessSessionsession()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
session
private final org.apache.nifi.processor.ProcessSession sessionThe field for thesessionrecord component. -
flowFiles
The field for theflowFilesrecord component.
-
-
Constructor Details
-
FlowFileSession
private FlowFileSession(org.apache.nifi.processor.ProcessSession session, List<org.apache.nifi.flowfile.FlowFile> flowFiles) Creates an instance of aFlowFileSessionrecord class.- Parameters:
session- the value for thesessionrecord componentflowFiles- the value for theflowFilesrecord 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). -
session
public org.apache.nifi.processor.ProcessSession session()Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
flowFiles
Returns the value of theflowFilesrecord component.- Returns:
- the value of the
flowFilesrecord component
-