Package io.quarkiverse.langchain4j.audit
Record Class Audit.CreateInfo
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.audit.Audit.CreateInfo
- Enclosing class:
- Audit
public static record Audit.CreateInfo(String interfaceName, String methodName, Object[] parameters, Optional<Integer> memoryIDParamPosition)
extends Record
Information about the AiService that is being audited
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterfaceNamerecord component.Returns the value of thememoryIDParamPositionrecord component.Returns the value of themethodNamerecord component.Object[]Returns the value of theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateInfo
public CreateInfo(String interfaceName, String methodName, Object[] parameters, Optional<Integer> memoryIDParamPosition) Creates an instance of aCreateInforecord class.- Parameters:
interfaceName- the value for theinterfaceNamerecord componentmethodName- the value for themethodNamerecord componentparameters- the value for theparametersrecord componentmemoryIDParamPosition- the value for thememoryIDParamPositionrecord 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). -
interfaceName
Returns the value of theinterfaceNamerecord component.- Returns:
- the value of the
interfaceNamerecord component
-
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
memoryIDParamPosition
Returns the value of thememoryIDParamPositionrecord component.- Returns:
- the value of the
memoryIDParamPositionrecord component
-