Class ToolsState
java.lang.Object
ai.wanaku.cli.main.commands.BaseCommand
ai.wanaku.cli.main.commands.targets.AbstractTargets
ai.wanaku.cli.main.commands.targets.tools.ToolsState
Deprecated.
-
Field Summary
Fields inherited from class ai.wanaku.cli.main.commands.targets.AbstractTargets
host, targetsServiceFields inherited from class ai.wanaku.cli.main.commands.BaseCommand
EXIT_ERROR, EXIT_OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegerdoTargetCall(WanakuPrinter printer) Deprecated.Executes the tools state command.Methods inherited from class ai.wanaku.cli.main.commands.targets.AbstractTargets
doCallMethods inherited from class ai.wanaku.cli.main.commands.BaseCommand
call, initService
-
Constructor Details
-
ToolsState
public ToolsState()Deprecated.
-
-
Method Details
-
doTargetCall
Deprecated.Executes the tools state command. This method performs the following operations:- Initializes the targets service
- Retrieves the current tools state from the service
- Formats and prints the tools state in a tabular format
- Specified by:
doTargetCallin classAbstractTargets- Returns:
BaseCommand.EXIT_OK(0) on successful execution, or appropriate error code if an exception occurs during processing- Throws:
IOException- if there's an I/O error while creating the terminal instance or communicating with the targets serviceRuntimeException- if the targets service initialization fails or if there's an error retrieving the tools stateException
-