Annotation Interface Trigger


@Target(METHOD) @Retention(RUNTIME) public @interface Trigger
Annotation used for trigger declaration.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The cardinalty of the trigger, specifies if the trigger supports a single or multi execution.
    The description the trigger
    The displayName of the trigger, can be used for translation in the client
    The name of the trigger
    boolean
    Marks the trigger as a preview
  • Element Details

    • name

      String name
      The name of the trigger

      e.g. IxCreateTrigger

      Returns:
      The name of the trigger
      Default:
      ""
    • displayName

      String displayName
      The displayName of the trigger, can be used for translation in the client
      Returns:
      the displayName of the trigger
      Default:
      ""
    • description

      String description
      The description the trigger

      e.g. this is a trigger, which will be executed on ix create events

      Returns:
      the description of the trigger
      Default:
      ""
    • cardinality

      TriggerCardinality cardinality
      The cardinalty of the trigger, specifies if the trigger supports a single or multi execution.
      Returns:
      the cardinality of the trigger
      Default:
      SINGLE
    • preview

      boolean preview
      Marks the trigger as a preview
      Returns:
      true if the trigger is marked as preview, otherwise false
      Default:
      false