Annotation Interface Layer1ActionMetadata


@Target(TYPE) @Retention(RUNTIME) @Repeatable(Layer1ActionMetadataList.class) public @interface Layer1ActionMetadata
Mark your Layer1ExternalAction implementations with this annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Action unique identifier.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Describes group hierarchy where the action will be located in the Keyboard Shortcuts window.
    The action name you see in Keyboard Shortcuts.
  • Element Details

    • groups

      String[] groups
      Describes group hierarchy where the action will be located in the Keyboard Shortcuts window. The root group for all external actions is Addons/strategy_name.
      Default:
      {}
    • id

      String id
      Action unique identifier. It's a mandatory field.
    • name

      String name
      The action name you see in Keyboard Shortcuts. If it's not present the id() field will be used instead.
      Default:
      ""