Annotation Interface T


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface T
Mark a field or method as a trigger (action). A control and port will be automatically created unless otherwise overridden. The @T annotation may be used on zero-parameter methods, and fields of type Trigger and boolean. NB. Note that boolean fields will be set to true when the trigger occurs and must be manually set back to false.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Relative weight compared to other @T elements.
  • Element Details

    • value

      int value
      Relative weight compared to other @T elements. Elements will be sorted by weight, and then alphabetically. Higher weight elements will sort after lower weight elements.
      Returns:
      weight
      Default:
      0