Package com.powsybl.iidm.network.tools
Class ConversionTool
- java.lang.Object
-
- com.powsybl.iidm.network.tools.ConversionTool
-
- All Implemented Interfaces:
Tool
@AutoService(Tool.class) public class ConversionTool extends Object implements Tool
- Author:
- Geoffroy Jamgotchian
, Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description ConversionTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImportConfig
createImportConfig()
protected NetworkFactory
createNetworkFactory()
Command
getCommand()
Get the command of the tool.void
run(org.apache.commons.cli.CommandLine line, ToolRunningContext context)
Run the tool.
-
-
-
Method Detail
-
createImportConfig
protected ImportConfig createImportConfig()
-
createNetworkFactory
protected NetworkFactory createNetworkFactory()
-
getCommand
public Command getCommand()
Description copied from interface:Tool
Get the command of the tool.- Specified by:
getCommand
in interfaceTool
-
run
public void run(org.apache.commons.cli.CommandLine line, ToolRunningContext context) throws Exception
Description copied from interface:Tool
Run the tool.
-
-