Package com.powsybl.tools
Class VersionTool
- java.lang.Object
-
- com.powsybl.tools.VersionTool
-
- All Implemented Interfaces:
Tool
@AutoService(Tool.class) public class VersionTool extends Object implements Tool
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description VersionTool()
VersionTool(PlatformConfig platformConfig)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
VersionTool
public VersionTool()
-
VersionTool
public VersionTool(PlatformConfig platformConfig)
-
-
Method Detail
-
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.
-
-