Annotation Type CommandMethod


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface CommandMethod
    Used to declare a class method as a command method
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Command syntax
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?> requiredSender
      The required sender
    • Element Detail

      • value

        java.lang.String value
        Command syntax
        Returns:
        Command syntax
      • requiredSender

        java.lang.Class<?> requiredSender
        The required sender
        Returns:
        Required sender
        Default:
        java.lang.Object.class