Skip to content

/AWS1/CL_BDOCODECONFIGURATION

The configuration for the source code that defines how the agent runtime code should be executed, including the code location, runtime environment, and entry point.

CONSTRUCTOR

IMPORTING

Required arguments:

io_code TYPE REF TO /AWS1/CL_BDOCODE /AWS1/CL_BDOCODE

The source code location and configuration details.

iv_runtime TYPE /AWS1/BDOAGENTMANAGEDRTIMETYPE /AWS1/BDOAGENTMANAGEDRTIMETYPE

The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).

it_entrypoint TYPE /AWS1/CL_BDOENTRYPOINTS_W=>TT_ENTRYPOINTS TT_ENTRYPOINTS

The entry point for the code execution, specifying the function or method that should be invoked when the code runs.


Queryable Attributes

code

The source code location and configuration details.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE

runtime

The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).

Accessible with the following methods

Method Description
GET_RUNTIME() Getter for RUNTIME, with configurable default
ASK_RUNTIME() Getter for RUNTIME w/ exceptions if field has no value
HAS_RUNTIME() Determine if RUNTIME has a value

entryPoint

The entry point for the code execution, specifying the function or method that should be invoked when the code runs.

Accessible with the following methods

Method Description
GET_ENTRYPOINT() Getter for ENTRYPOINT, with configurable default
ASK_ENTRYPOINT() Getter for ENTRYPOINT w/ exceptions if field has no value
HAS_ENTRYPOINT() Determine if ENTRYPOINT has a value