Record Class AutobotProviderStatus
java.lang.Object
java.lang.Record
com.shaft.mcp.AutobotProviderStatus
- Record Components:
schemaVersion- response schema versionprovider- normalized provider identifiermodel- configured model, or blank when none is setapiKeyPresent- whether the provider API key is present in the environmentapiKeyEnvironmentVariable- the environment variable inspected for the keystructuredOutputSupported- whether the provider supports JSON-schema structured outputsupportedModes- assistant modes the provider can servewarnings- safe readiness reminders
public record AutobotProviderStatus(String schemaVersion, String provider, String model, boolean apiKeyPresent, String apiKeyEnvironmentVariable, boolean structuredOutputSupported, String supportedModes, List<String> warnings)
extends Record
Read-only readiness snapshot for the configured SHAFT cloud provider.
Never exposes the API key value; only reports whether a key is present in the process environment so the IntelliJ readiness view can show an at-a-glance status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapiKeyEnvironmentVariablerecord component.booleanReturns the value of theapiKeyPresentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.provider()Returns the value of theproviderrecord component.Returns the value of theschemaVersionrecord component.booleanReturns the value of thestructuredOutputSupportedrecord component.Returns the value of thesupportedModesrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
AutobotProviderStatus
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
provider
-
model
-
apiKeyPresent
public boolean apiKeyPresent()Returns the value of theapiKeyPresentrecord component.- Returns:
- the value of the
apiKeyPresentrecord component
-
apiKeyEnvironmentVariable
Returns the value of theapiKeyEnvironmentVariablerecord component.- Returns:
- the value of the
apiKeyEnvironmentVariablerecord component
-
structuredOutputSupported
public boolean structuredOutputSupported()Returns the value of thestructuredOutputSupportedrecord component.- Returns:
- the value of the
structuredOutputSupportedrecord component
-
supportedModes
Returns the value of thesupportedModesrecord component.- Returns:
- the value of the
supportedModesrecord component
-
warnings
-