Dynamic Parameters

Dynamic parameters are special types of parameters. Dynamic parameter value is recalculated each time you assess the parameter; i.e., this parameter acts as a function.

You obtain the parameter value using function-call notation – e.g., myParameter(), not myParameter – because dynamic parameters become functions in the generated Java code. As a value for a dynamic parameter you can type any expression evaluating to the parameter type.

Using dynamic parameters, you can parameterize agents with some code strings and thus greatly improve the flexibility and reuse of your agent.

Dynamic parameters in the properties are marked with a special icon: