Package jadex.bpmn.runtime.task
Class MethodCallTask
java.lang.Object
jadex.bpmn.runtime.task.MethodCallTask
- All Implemented Interfaces:
ITask
Call a method.
Class and method name may be specified as parameters.
Rebind parameter is also supported.
All other in and inout parameters are interpreted as method arguments.
One out or inout parameter may be specifed to receive the call result.
Service name may alternatively supplied as name of lane and
method name as name of activity.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.future.IFuture
<Void> cancel
(jadex.core.IComponent instance) Compensate in case the task is canceled.jadex.future.IFuture
<Void> execute
(ITaskContext context, jadex.core.IComponent process) Execute the task.
-
Field Details
-
PROPERTY_SERVICE
Property for service name.- See Also:
-
PROPERTY_METHOD
Property for method name.- See Also:
-
-
Constructor Details
-
MethodCallTask
public MethodCallTask()
-
-
Method Details
-
execute
Execute the task. -
cancel
Compensate in case the task is canceled.
-