Class AsadminRecorderService

  • All Implemented Interfaces:
    EventListener

    @Service(name="asadmin-recorder")
    @RunLevel(10)
    public class AsadminRecorderService
    extends Object
    implements EventListener
    Service to record asadmin commands. This can be for both commands entered at the command line and for actions in the admin console.
    Since:
    4.1.1.162
    Author:
    Andrew Pielage
    • Constructor Detail

      • AsadminRecorderService

        public AsadminRecorderService()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns true is the asadmin recorder is enabled
        Returns:
      • recordAsadminCommand

        public void recordAsadminCommand​(String commandName,
                                         ParameterMap parameters)
        Records a given asadmin command
        Parameters:
        commandName - The name of the command
        parameters - A map of all of the parameters passed as oart of the command