Annotation Interface CommandName


@Retention(RUNTIME) @Target(TYPE) public @interface CommandName
Sets the CommandName for a class extending ApiCommand This also queue's the class for being AutoRegistered on the program startup if your class extending ApiCommand does not have this annotation, it needs to have a RegisterCommand annotation instead This is required, unless you are using a RegisterCommand Annotation instead,
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the command for execution in a class extending ApiCommand
  • Element Details

    • name

      String name
      Name of the command for execution in a class extending ApiCommand
      Returns:
      A String with no spaces and uppercase letters (Uppercase letters get automatically set to all lowercase)
      Default:
      ""