Record Class FilteringMessageHistoryFactory.FilteringEntity
java.lang.Object
java.lang.Record
org.qubership.integration.platform.engine.camel.history.FilteringMessageHistoryFactory.FilteringEntity
- Enclosing class:
FilteringMessageHistoryFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFilteringEntity(String routeId, org.apache.camel.NamedNode node, org.apache.camel.Exchange exchange) Creates an instance of aFilteringEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.org.apache.camel.Exchangeexchange()Returns the value of theexchangerecord component.final inthashCode()Returns a hash code value for this object.org.apache.camel.NamedNodenode()Returns the value of thenoderecord component.routeId()Returns the value of therouteIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FilteringEntity
public FilteringEntity(String routeId, org.apache.camel.NamedNode node, org.apache.camel.Exchange exchange) Creates an instance of aFilteringEntityrecord class.- Parameters:
routeId- the value for therouteIdrecord componentnode- the value for thenoderecord componentexchange- the value for theexchangerecord 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). -
routeId
Returns the value of therouteIdrecord component.- Returns:
- the value of the
routeIdrecord component
-
node
public org.apache.camel.NamedNode node()Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
exchange
public org.apache.camel.Exchange exchange()Returns the value of theexchangerecord component.- Returns:
- the value of the
exchangerecord component
-