Class AspectCommand

  • All Implemented Interfaces:
    Command

    public class AspectCommand
    extends AbstractCommand
    Change the active state of an Aspect or view the list of registered Aspect.
    • Constructor Detail

    • Method Detail

      • execute

        public void execute​(ParsedOptions options,
                            Console console)
                     throws java.lang.Exception
        Description copied from interface: Command
        This method will be called as the starting point to execute the logic for the action mapped to this command.
        Parameters:
        options - the parsed options
        console - the console
        Throws:
        java.lang.Exception - if an error occurs during command execution
      • getDescriptor

        public Command.Descriptor getDescriptor()
        Description copied from interface: Command
        This method returns an instance of Command.Descriptor. The descriptor is meta information about the command.
        Returns:
        a Descriptor that is meta information about the command