Class CommandService
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.CommandService
A service that loads commands using SPI.
This class implements the singleton pattern to ensure a single instance of the command service is used throughout the application.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the loaded commands.static CommandService
Get the singleton instance of the function service.
-
Method Details
-
getInstance
Get the singleton instance of the function service.- Returns:
- the service instance
-
getCommands
Get the loaded commands.- Returns:
- the list of loaded commands
-