Package org.wildfly.security.tool
Class ElytronTool
- java.lang.Object
-
- org.wildfly.security.tool.ElytronTool
-
public class ElytronTool extends Object
Elytron Tool main class which drives all registered commands.- Author:
- Peter Skopek
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,Command>
commandRegistry
static int
ElytronToolExitStatus_OK
status code for no problemsstatic int
ElytronToolExitStatus_unrecognizedCommand
status code for unrecognized commandprivate String
scriptName
Name of the script used to execute the tool.
-
Constructor Summary
Constructors Constructor Description ElytronTool()
Construct ElytronTool with registration of all supported commands.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Command
findCommand(String commandName)
private void
generalHelp()
static void
main(String[] args)
Main method to call from scripts.
-
-
-
Field Detail
-
ElytronToolExitStatus_unrecognizedCommand
public static int ElytronToolExitStatus_unrecognizedCommand
status code for unrecognized command
-
ElytronToolExitStatus_OK
public static int ElytronToolExitStatus_OK
status code for no problems
-
scriptName
private String scriptName
Name of the script used to execute the tool.
-
-