Package jadex.bpmn.runtime.task
Class MethodCallTask
- java.lang.Object
- 
- jadex.bpmn.runtime.task.MethodCallTask
 
- 
- All Implemented Interfaces:
- ITask
 
 public class MethodCallTask extends java.lang.Object implements 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 SummaryNested Classes Modifier and Type Class Description static classMethodCallTask.ServiceCallTaskGui
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringPROPERTY_METHODProperty for method name.static java.lang.StringPROPERTY_SERVICEProperty for service name.
 - 
Constructor SummaryConstructors Constructor Description MethodCallTask()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>cancel(IInternalAccess instance)Compensate in case the task is canceled.IFuture<java.lang.Void>execute(ITaskContext context, IInternalAccess process)Execute the task.static java.util.List<ParameterMetaInfo>getExtraParameters(java.util.Map<java.lang.String,MProperty> params, IModelContainer modelcontainer, java.lang.ClassLoader cl)Get the extra parameters that depend on the property settings of the task.
 
- 
- 
- 
Field Detail- 
PROPERTY_SERVICEpublic static final java.lang.String PROPERTY_SERVICE Property for service name.- See Also:
- Constant Field Values
 
 - 
PROPERTY_METHODpublic static final java.lang.String PROPERTY_METHOD Property for method name.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
executepublic IFuture<java.lang.Void> execute(ITaskContext context, IInternalAccess process) Execute the task.
 - 
cancelpublic IFuture<java.lang.Void> cancel(IInternalAccess instance) Compensate in case the task is canceled.
 - 
getExtraParameterspublic static java.util.List<ParameterMetaInfo> getExtraParameters(java.util.Map<java.lang.String,MProperty> params, IModelContainer modelcontainer, java.lang.ClassLoader cl) Get the extra parameters that depend on the property settings of the task.
 
- 
 
-