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 commandstatic String
LOG_MANAGER_PROPERTY
private 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 private static void
configureLogManager()
(package private) Command
findCommand(String commandName)
private void
generalHelp()
static void
main(String[] args)
Main method to call from scripts.
-
-
-
Field Detail
-
LOG_MANAGER_PROPERTY
public static final String LOG_MANAGER_PROPERTY
- See Also:
- Constant Field Values
-
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.
-
-
Method Detail
-
main
public static void main(String[] args)
Main method to call from scripts.- Parameters:
args
- parameters to pass farther. The first parameter is name or alias of the command.
-
configureLogManager
private static void configureLogManager()
-
generalHelp
private void generalHelp()
-
-