Annotation Interface CommandArg


指令參數
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    參數順序
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    參數標識
    自定義參數顯示
    boolean
    可填參數
  • Element Details

    • order

      int order
      參數順序
      Returns:
      參數順序
    • identifier

      參數標識
      Returns:
      參數標識
      Default:
      "default"
    • labels

      自定義參數顯示
      Returns:
      自定義參數顯示
      Default:
      {}
    • optional

      boolean optional
      可填參數
      Returns:
      是否為可填參數
      Default:
      false