Interface Tool

All Known Implementing Classes:
ActionSimulatorTool, BashCompletionTool, CimAnonymizerTool, CompareSecurityAnalysisResultsTool, ConversionTool, DynamicSimulationTool, ListDynamicSimulationModelsTool, PluginsInfoTool, RunLoadFlowTool, RunScriptTool, SecurityAnalysisTool, SensitivityAnalysisTool, ShortCircuitAnalysisTool, ValidationTool, VersionTool

public interface Tool
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the command of the tool.
    void
    run(org.apache.commons.cli.CommandLine line, ToolRunningContext context)
    Run the tool.
  • Method Details

    • 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 arguments
      context - tool execution context
      Throws:
      Exception - if the command fails