Interface ExecuteCodeOptions


@Immutable public interface ExecuteCodeOptions
An object to control the behavior of the executeCode API
  • Field Details

    • DEFAULT

      static final ExecuteCodeOptions DEFAULT
      The default options. See the method javadoc for default values.
  • Method Details

    • executeSystemic

      @Default default ExecuteCodeOptions.SystemicType executeSystemic()
      If the code should be executed systemically or not. When code is executed systemically and systemic object marking is enabled on the server, objects the script creates are marked as systemic. Update errors in systemic objects are passed to the server's registered error reporter, if there is one.

      The default value is ExecuteCodeOptions.SystemicType.ServerDefault, which uses the server's default behavior. See the documentation for SystemicObjectTracker for more details.

      Returns:
      if the code should be systemically executed.
    • builder

      static ExecuteCodeOptions.Builder builder()
      Create a new options builder.
      Returns:
      a new builder