You can use the following APIs to call any Behavior by its name.
| Code Block | ||
|---|---|---|
| ||
public static Objectobject callBehavior(String name) { ... } public static Object object callBehavior(String name, List<?> arguments) { ... } public static Object object callBehavior(String name, List<?> arguments, boolean isSynchronous) { ... } |
The following example shows how to call the "test" specified Behavior in ALH API
...