Record Class DbUpgradeStep1To2MigrateAgentExchanges.ExchangeData
java.lang.Object
java.lang.Record
com.flowable.agent.engine.db.upgrade.DbUpgradeStep1To2MigrateAgentExchanges.ExchangeData
- Enclosing class:
DbUpgradeStep1To2MigrateAgentExchanges
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentInstanceIdrecord component.content()Returns the value of thecontentrecord component.Returns the value of thecreateTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theoperationKeyrecord component.booleanReturns the value of theprocessingrecord component.Returns the value of thetechnicalContentrecord component.Returns the value of thetokenCountrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
ExchangeData
protected ExchangeData(String id, String agentInstanceId, String operationKey, Date createTime, String type, String userId, boolean processing, String content, String technicalContent, Long tokenCount) Creates an instance of aExchangeDatarecord class.- Parameters:
id- the value for theidrecord componentagentInstanceId- the value for theagentInstanceIdrecord componentoperationKey- the value for theoperationKeyrecord componentcreateTime- the value for thecreateTimerecord componenttype- the value for thetyperecord componentuserId- the value for theuserIdrecord componentprocessing- the value for theprocessingrecord componentcontent- the value for thecontentrecord componenttechnicalContent- the value for thetechnicalContentrecord componenttokenCount- the value for thetokenCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
agentInstanceId
Returns the value of theagentInstanceIdrecord component.- Returns:
- the value of the
agentInstanceIdrecord component
-
operationKey
Returns the value of theoperationKeyrecord component.- Returns:
- the value of the
operationKeyrecord component
-
createTime
Returns the value of thecreateTimerecord component.- Returns:
- the value of the
createTimerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
processing
public boolean processing()Returns the value of theprocessingrecord component.- Returns:
- the value of the
processingrecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
technicalContent
Returns the value of thetechnicalContentrecord component.- Returns:
- the value of the
technicalContentrecord component
-
tokenCount
Returns the value of thetokenCountrecord component.- Returns:
- the value of the
tokenCountrecord component
-