Annotation Type Whitelisted


@Target({METHOD,CONSTRUCTOR,FIELD}) @Retention(RUNTIME) public @interface Whitelisted
Marks a member as being whitelisted by default for purposes of sandboxed scripts.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    True to only whitelist this member when invoked by an actual user.
  • Element Details

    • restricted

      boolean restricted
      True to only whitelist this member when invoked by an actual user. (Relevant only on methods and constructors.)
      See Also:
      Default:
      false