@Retention(value=CLASS)
@Target(value=METHOD)
public @interface Command
Mark a class method as a console command
public abstract java.lang.String value
alias of name()
public abstract java.lang.String name
Returns the name of the command
public abstract Act.Mode mode
Specify the ActFramework working mode this command is bind to.
Note DEV
mode command will not available at PROD
mode. However PROD
mode command is available at DEV
mode
Copyright © 2014–2017 ActFramework. All rights reserved.