Record Class AgentInvocationContextBuilderImpl.OperationInfoData
java.lang.Object
java.lang.Record
com.flowable.agent.engine.impl.runtime.invocation.AgentInvocationContextBuilderImpl.OperationInfoData
- Enclosing class:
AgentInvocationContextBuilderImpl
-
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
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). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
serviceData
Returns the value of theserviceDatarecord component.- Returns:
- the value of the
serviceDatarecord component
-
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
-