public class PojoTaskWrapper extends Object implements jadex.bpmn.model.task.ITask
Constructor and Description |
---|
PojoTaskWrapper()
Bean constructor.
|
PojoTaskWrapper(Object pojotask,
IInternalAccess ia,
ProcessThread thread,
List<FieldInfo> cominjections,
Map<String,List<FieldInfo>> arginjections,
Map<String,FieldInfo> resinjections)
Create a new wrapper task.
|
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
cancel(IInternalAccess process)
Cleanup in case the task is cancelled.
|
IFuture<Void> |
execute(jadex.bpmn.model.task.ITaskContext context,
IInternalAccess process)
Execute the task.
|
Method |
getCancelMethod()
Get the cancelmethod.
|
Object |
getPojoTask()
Get the pojotask.
|
Map<String,FieldInfo> |
getResultInjections()
Get the resinjections.
|
Object[] |
guessParameters(Class<?>[] ptypes,
Set<Object> vals)
Method that tries to guess the parameters for the method call.
|
void |
setCancelMethod(Method cancelmethod)
Set the cancelmethod.
|
void |
setPojoTask(Object pojotask)
Set the pojotask.
|
void |
setResultInjections(Map<String,FieldInfo> resinjections)
Set the resinjections.
|
public IFuture<Void> execute(jadex.bpmn.model.task.ITaskContext context, IInternalAccess process)
execute
in interface jadex.bpmn.model.task.ITask
context
- The accessible values.process
- The process instance executing the task.public IFuture<Void> cancel(IInternalAccess process)
cancel
in interface jadex.bpmn.model.task.ITask
public Object[] guessParameters(Class<?>[] ptypes, Set<Object> vals)
public Object getPojoTask()
public void setPojoTask(Object pojotask)
pojotask
- The pojotask to set.public Method getCancelMethod()
public void setCancelMethod(Method cancelmethod)
cancelmethod
- The cancelmethod to set.public Map<String,FieldInfo> getResultInjections()
Copyright © 2015. All Rights Reserved.