Package com.powsybl.tools
Interface Tool
-
- All Known Implementing Classes:
ActionSimulatorTool
,BashCompletionTool
,CimAnonymizerTool
,CompareSecurityAnalysisResultsTool
,ConversionTool
,DynamicSimulationTool
,PluginsInfoTool
,RunLoadFlowTool
,RunScriptTool
,SecurityAnalysisTool
,SensitivityAnalysisTool
,ShortCircuitAnalysisTool
,ValidationTool
,VersionTool
public interface Tool
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Command
getCommand()
Get the command of the tool.void
run(org.apache.commons.cli.CommandLine line, ToolRunningContext context)
Run the tool.
-
-
-
Method Detail
-
getCommand
Command getCommand()
Get the command of the tool.
-
run
void run(org.apache.commons.cli.CommandLine line, ToolRunningContext context) throws Exception
Run the tool.- Parameters:
line
- the command line argumentscontext
- tool execution context- Throws:
Exception
- if the command fails
-
-