java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.debug.DebugCmd

public class DebugCmd extends Command
A command for general logging and debugging. Just testing if new features work or otherwise quick access to stuff.

This is a command who's logic lies within the subcommands. This does not work but dispatching. See subcommand documentation for more detail on arguments and usage strings (EchoCmd, TypeOf, RandomUUIDCmd, CameraInfoCmd)}

Aliases: debug, dbg, test, d

Typical Usage:


     debug echo "hi"      - Prints "hi" to the console and to the command palette output label
     debug typeof 1       - Prints "Type: Integer" to the console and to the command palette output label
     debug id             - Retrieves and prints a random GObject's UUID (and copies to your clipboard)
     

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • DebugCmd

      public DebugCmd()
  • Method Details

    • run

      public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs)
      Description copied from class: Command
      The method to be overridden by subclasses to implement command functionality.
      Overrides:
      run in class Command
      Parameters:
      invoker - The invoker of this command
      logLabel - The JLabel to display log messages.
      aliasUsed - The alias of the command that was used to invoke it.
      args - The arguments passed to the command.
      taggedArgs - Tagged arguments passed to the command.