@PermitAll public class CreateModelInstance extends java.lang.Object implements ExecutableTask
ExecutableTask.Result| Constructor and Description |
|---|
CreateModelInstance()
Creates new instance.
|
CreateModelInstance(CommunicationService communicationService,
ReflectionFunctions reflectionFunctions)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableTask.Result |
processInput(TaskContext context,
java.lang.Object input)
The method for processing the model instance input.
|
ExecutableTask.Result |
start(TaskContext context)
An initial method that is called when the task execution starts.
|
void |
terminate(TaskContext context,
TerminationReason reason)
Called when this task is to be terminated.
|
public CreateModelInstance()
public CreateModelInstance(CommunicationService communicationService, ReflectionFunctions reflectionFunctions)
communicationService - reflectionFunctions - public ExecutableTask.Result start(TaskContext context) throws ErrorException
ExecutableTaskstart in interface ExecutableTasknullErrorException - the BPMN errorpublic ExecutableTask.Result processInput(TaskContext context, java.lang.Object input) throws ErrorException
ExecutableTask
This method is invoked when a previous call to either
start method or
processInput method returned
WAITING_FOR_INPUT and a new input is to
be process by the model instance.
processInput in interface ExecutableTasknullErrorException - the BPMN errorpublic void terminate(TaskContext context, TerminationReason reason)
ExecutableTaskterminate in interface ExecutableTaskErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.