MethodHandler

class MethodHandler

Utility class used by TaskTriggerHandler to construct a list of parameter types of the method in the correct order.

See also: TaskTriggerHandler

Constructors

MethodHandler

public MethodHandler(ActionEvent action, Map<String, Object> parameters)

Class constructor.

Parameters:
  • action – the event action
  • parameters – the action parameters, not null
Throws:
  • TaskHandlerException – if there were problems while handling the task

Methods

getClasses

public Class[] getClasses()

Returns the array of the parameter classes.

Returns:the array of the parameter classes

getObjects

public Object[] getObjects()

Returns the array of the parameter values.

Returns:the array of the parameter values