Class GeminiCliAgentHandler
java.lang.Object
hudson.model.AbstractDescribableImpl<AiAgentTypeHandler>
io.jenkins.plugins.aiagentjob.AiAgentTypeHandler
io.jenkins.plugins.aiagentjob.geminicli.GeminiCliAgentHandler
- All Implemented Interfaces:
ExtensionPoint,Describable<AiAgentTypeHandler>
Deprecated.
Deserialization shim for saved jobs configured with the retired Gemini CLI handler.
New jobs should use AntigravityAgentHandler. This class intentionally has no Jenkins
descriptor or Pipeline symbol, and rejects execution so existing jobs must be migrated
explicitly.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.aiagentjob.AiAgentTypeHandler
AiAgentTypeHandler.AcpExecutionSpec, AiAgentTypeHandler.ModelSelectionNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDefaultCommand(AiAgentConfiguration config, String prompt) Deprecated.Deprecated.Default API-key environment variable, or empty when the agent uses node-level auth.getId()Deprecated.Stable identifier for this agent implementation.Deprecated.Returns the log format parser for this agent's JSONL output.Deprecated.Returns the stats extractor for this agent's JSONL output.voidDeprecated.Rejects unsupported execution settings before any process or temporary file is created.Methods inherited from class io.jenkins.plugins.aiagentjob.AiAgentTypeHandler
buildAcpExecution, getSupportedReasoningEfforts, prepareExecution, resolveExitCode, resolveModelSelection, supportsManualApprovalsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
GeminiCliAgentHandler
@DataBoundConstructor public GeminiCliAgentHandler()Deprecated.
-
-
Method Details
-
getId
Deprecated.Description copied from class:AiAgentTypeHandlerStable identifier for this agent implementation.- Specified by:
getIdin classAiAgentTypeHandler
-
getDefaultApiKeyEnvVar
Deprecated.Description copied from class:AiAgentTypeHandlerDefault API-key environment variable, or empty when the agent uses node-level auth.- Specified by:
getDefaultApiKeyEnvVarin classAiAgentTypeHandler
-
validateExecution
Deprecated.Description copied from class:AiAgentTypeHandlerRejects unsupported execution settings before any process or temporary file is created.- Overrides:
validateExecutionin classAiAgentTypeHandler
-
buildDefaultCommand
Deprecated.- Specified by:
buildDefaultCommandin classAiAgentTypeHandler
-
getLogFormat
Deprecated.Description copied from class:AiAgentTypeHandlerReturns the log format parser for this agent's JSONL output.The returned format's
AiAgentLogFormat.classify(long, net.sf.json.JSONObject)method should returnnullfor any JSON it does not recognise, so the parser can fall through to the shared format and generic fallback.- Specified by:
getLogFormatin classAiAgentTypeHandler
-
getStatsExtractor
Deprecated.Description copied from class:AiAgentTypeHandlerReturns the stats extractor for this agent's JSONL output.The returned extractor's
AiAgentStatsExtractor.extract(net.sf.json.JSONObject, io.jenkins.plugins.aiagentjob.AgentUsageStats)method should returnfalsefor any JSON it does not recognise, so the shared extractor handles it as a fallback.- Specified by:
getStatsExtractorin classAiAgentTypeHandler
-