Record Class AgentInvocationContextBuilderImpl.OperationInfoData
java.lang.Object
java.lang.Record
com.flowable.agent.engine.impl.runtime.invocation.AgentInvocationContextBuilderImpl.OperationInfoData
- Enclosing class:
AgentInvocationContextBuilderImpl
protected static record AgentInvocationContextBuilderImpl.OperationInfoData(AgentDefinitionModel.AgentOperation operation, Map<String,Object> serviceData, String additionalUserPromptMessage, String outputSchema, List<com.flowable.agent.engine.impl.runtime.invocation.Media> media)
extends Record
- Author:
- Filip Hrisafov
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperationInfoData(AgentDefinitionModel.AgentOperation operation, Map<String, Object> serviceData) protectedOperationInfoData(AgentDefinitionModel.AgentOperation operation, Map<String, Object> serviceData, String additionalUserPromptMessage, String outputSchema, List<com.flowable.agent.engine.impl.runtime.invocation.Media> media) Creates an instance of aOperationInfoDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalUserPromptMessagerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<com.flowable.agent.engine.impl.runtime.invocation.Media> media()Returns the value of themediarecord component.Returns the value of theoperationrecord component.Returns the value of theoutputSchemarecord component.Returns the value of theserviceDatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OperationInfoData
protected OperationInfoData(AgentDefinitionModel.AgentOperation operation, Map<String, Object> serviceData) -
OperationInfoData
protected OperationInfoData(AgentDefinitionModel.AgentOperation operation, Map<String, Object> serviceData, String additionalUserPromptMessage, String outputSchema, List<com.flowable.agent.engine.impl.runtime.invocation.Media> media) Creates an instance of aOperationInfoDatarecord class.- Parameters:
operation- the value for theoperationrecord componentserviceData- the value for theserviceDatarecord componentadditionalUserPromptMessage- the value for theadditionalUserPromptMessagerecord componentoutputSchema- the value for theoutputSchemarecord componentmedia- the value for themediarecord component
-
-
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). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
serviceData
-
additionalUserPromptMessage
Returns the value of theadditionalUserPromptMessagerecord component.- Returns:
- the value of the
additionalUserPromptMessagerecord component
-
outputSchema
Returns the value of theoutputSchemarecord component.- Returns:
- the value of the
outputSchemarecord component
-
media
Returns the value of themediarecord component.- Returns:
- the value of the
mediarecord component
-