FuncApi (Function APIs)
executeFunction
Execute a specific Trillo function by providing its parameters.
FuncApi.executeFunction(String functionName, Map params)
or
FuncApi.executeFunction(String appName, String functionName, Map<String, Object> params)parameters:
functionName: name of the function
params: hashmap representing the parameters
appNameSample Code
Map<String, Object> functionParameters = new LinkedHashMap<String, Object>();
Result result = FuncApi.executeFunction("FUNCTION_NAME", functionParameters);Returns:
object values returned by the called functionexecuteFunctionWithMethod
Description...
Parameters
Sample Code
Returns
executeSSH
Execute a remote ssh command on a server whose keys are known to the workbench. Generally the SSH server is a companion server of the workbench.
parameters:
Returns:
pingTask
Ping an asynchronous task by id and returns it's last time stamp
parameters:
Sample Code
Returns:
createTask
Description...
Parameters
Sample Code
Returns
createTaskBySourceUid
Description...
Parameters
Sample Code
Returns
Last updated
Was this helpful?