Annotation Interface ScriptArg


@Retention(RUNTIME) @Target(PARAMETER) public @interface ScriptArg

Annotates an argument of a function being added to the scripting system.

Provides the name of the argument that will be used in the script hints auto-complete system.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      String value
      Returns:
      The name of this argument, e.g. "opcServerName" or "rowCount".
    • optional

      boolean optional
      Returns:
      True if this argument is optionally present.
      Default:
      false