Class ControlledCommandActivator

  • All Implemented Interfaces:
    org.aesh.command.activator.CommandActivator, CLICommandActivator

    public class ControlledCommandActivator
    extends ConnectedActivator
    A command activator that enables the command only if the security constraints are full-filled.
    Author:
    jdenise@redhat.com
    • Constructor Detail

      • ControlledCommandActivator

        public ControlledCommandActivator()
    • Method Detail

      • isActivated

        public boolean isActivated​(org.aesh.command.impl.internal.ParsedCommand cmd)
        Specified by:
        isActivated in interface org.aesh.command.activator.CommandActivator
        Overrides:
        isActivated in class ConnectedActivator