java.lang.Object
org.nasdanika.capability.AbstractCapabilityFactory<Object,CommandLine>
org.nasdanika.capability.ServiceCapabilityFactory<SubCommandRequirement,CommandLine>
org.nasdanika.cli.SubCommandCapabilityFactory<SseTransportCommand>
org.nasdanika.ai.mcp.sse.SseTransportCommandFactory
- All Implemented Interfaces:
CapabilityFactory<Object,CommandLine>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nasdanika.capability.ServiceCapabilityFactory
ServiceCapabilityFactory.Requirement<R,S> Nested classes/interfaces inherited from interface org.nasdanika.capability.CapabilityFactory
CapabilityFactory.Loader -
Field Summary
Fields inherited from class org.nasdanika.cli.SubCommandCapabilityFactory
DEFAULT_MAX_COMMAND_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage<SseTransportCommand> doCreateCommand(List<CommandLine> parentPath, CapabilityFactory.Loader loader, ProgressMonitor progressMonitor) protected Class<SseTransportCommand> Methods inherited from class org.nasdanika.cli.SubCommandCapabilityFactory
createCommand, createCommandLine, createMixIns, createService, createSubCommands, getMaxPath, isFor, match, overridesMethods inherited from class org.nasdanika.capability.ServiceCapabilityFactory
canHandle, create, createRequirement, createRequirementMethods inherited from class org.nasdanika.capability.AbstractCapabilityFactory
empty, wrap, wrapCompletionStage, wrapError, wrapSupplier
-
Constructor Details
-
SseTransportCommandFactory
public SseTransportCommandFactory()
-
-
Method Details
-
getCommandType
- Specified by:
getCommandTypein classSubCommandCapabilityFactory<SseTransportCommand>
-
doCreateCommand
protected CompletionStage<SseTransportCommand> doCreateCommand(List<CommandLine> parentPath, CapabilityFactory.Loader loader, ProgressMonitor progressMonitor) - Overrides:
doCreateCommandin classSubCommandCapabilityFactory<SseTransportCommand>
-