Annotation Type CommandAliases


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface CommandAliases
    Represents a annotation, which specifies a specific Command's names.

    Usage example:

    
    @CommandAliases("alias1|alias2|alias3")
     public class MyCommand extends Command {
        // other magical stuff happening here
     }

    Aliases should be represented like: "alias1|alias2|alias3"

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      @NotNull java.lang.String value
      The aliases string mentioned in the annotation description.
    • Element Detail

      • value

        @NotNull
        @NotNull java.lang.String value
        The aliases string mentioned in the annotation description.
        Returns:
        aliases, separated with "|"