Class DebugCmd
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.debug.DebugCmd
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:
-
Field Summary
Fields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) The method to be overridden by subclasses to implement command functionality.Methods inherited from class com.j3d.engine.interact.cmd.base.Command
addNoArgUsage, aliases, aliasStream, args, dispatchToSubcommands, getUsages, hasNoArgs, parseUsages, usages, varTaggedArgs
-
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:CommandThe method to be overridden by subclasses to implement command functionality.
-