Annotation Type CCMD
Annotation for console command entry points.
Console commands can be attached to any public method that is on an
EngineElement.- Author:
- Matthew Tropiano
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe command name. If not specified (or blank), this uses the method name. The command name is case-insensitive.- Returns:
- the command name to use.
- Default:
""
-
usage
-
description
String descriptionCommand description.- Returns:
- the console command description.
- Default:
"Console command."
-
debug
boolean debugChecks if this is exposed in DEBUG mode only.- Returns:
- true if so, false if not.
- Default:
false
-