Record Class McpProviderFallback
java.lang.Object
java.lang.Record
com.shaft.mcp.McpProviderFallback
- Record Components:
requested- whether provider assistance was requestedused- whether provider output was acceptedstatus- normalized provider statusprovider- provider identifiermodel- model identifierfallbackReason- safe fallback reasonwarnings- safe warnings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic McpProviderFallbackdisabled()Returns disabled provider metadata.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefallbackReasonrecord component.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.provider()Returns the value of theproviderrecord component.booleanReturns the value of therequestedrecord component.com.shaft.pilot.ai.AiResponseStatusstatus()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.booleanused()Returns the value of theusedrecord component.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpProviderFallback
-
-
Method Details
-
disabled
Returns disabled provider metadata.- Returns:
- disabled fallback
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
requested
-
used
-
status
-
provider
-
model
-
fallbackReason
Returns the value of thefallbackReasonrecord component.- Returns:
- the value of the
fallbackReasonrecord component
-
warnings
-