public class TestActivityBehaviorFactory
extends org.activiti.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
implements org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
Modifier and Type | Field and Description |
---|---|
protected boolean |
allServiceTasksNoOp |
protected Map<String,String> |
mockedClassDelegatesMapping |
protected Set<String> |
noOpServiceTaskClassNames |
protected Set<String> |
noOpServiceTaskIds |
protected org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory |
wrappedActivityBehaviorFactory
The ActivityBehaviorFactory that is constructed when the process engine was created
This class delegates to this instance, unless some mocking has been defined.
|
Constructor and Description |
---|
TestActivityBehaviorFactory() |
TestActivityBehaviorFactory(org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory wrappedActivityBehaviorFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addClassDelegateMock(String originalClassFqn,
Class<?> mockClass) |
void |
addClassDelegateMock(String originalClassFqn,
String mockedClassFqn) |
void |
addNoOpServiceTaskByClassName(String className) |
void |
addNoOpServiceTaskById(String id) |
org.activiti.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior |
createBoundaryEventActivityBehavior(org.activiti.bpmn.model.BoundaryEvent boundaryEvent,
boolean interrupting,
org.activiti.engine.impl.pvm.process.ActivityImpl activity) |
org.activiti.engine.impl.pvm.delegate.ActivityBehavior |
createBusinessRuleTaskActivityBehavior(org.activiti.bpmn.model.BusinessRuleTask businessRuleTask) |
org.activiti.engine.impl.bpmn.behavior.CallActivityBehavior |
createCallActivityBehavior(org.activiti.bpmn.model.CallActivity callActivity) |
org.activiti.engine.impl.pvm.delegate.ActivityBehavior |
createCamelActivityBehavior(org.activiti.bpmn.model.SendTask sendTask,
org.activiti.bpmn.model.BpmnModel bpmnModel) |
org.activiti.engine.impl.pvm.delegate.ActivityBehavior |
createCamelActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask,
org.activiti.bpmn.model.BpmnModel bpmnModel) |
org.activiti.engine.impl.bpmn.behavior.CancelBoundaryEventActivityBehavior |
createCancelBoundaryEventActivityBehavior(org.activiti.bpmn.model.CancelEventDefinition cancelEventDefinition) |
org.activiti.engine.impl.bpmn.behavior.CancelEndEventActivityBehavior |
createCancelEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent) |
org.activiti.engine.impl.bpmn.helper.ClassDelegate |
createClassDelegateServiceTask(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.behavior.ErrorEndEventActivityBehavior |
createErrorEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent,
org.activiti.bpmn.model.ErrorEventDefinition errorEventDefinition) |
org.activiti.engine.impl.bpmn.behavior.EventBasedGatewayActivityBehavior |
createEventBasedGatewayActivityBehavior(org.activiti.bpmn.model.EventGateway eventGateway) |
org.activiti.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior |
createEventSubProcessStartEventActivityBehavior(org.activiti.bpmn.model.StartEvent startEvent,
String activityId) |
org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior |
createExclusiveGatewayActivityBehavior(org.activiti.bpmn.model.ExclusiveGateway exclusiveGateway) |
org.activiti.engine.impl.bpmn.behavior.InclusiveGatewayActivityBehavior |
createInclusiveGatewayActivityBehavior(org.activiti.bpmn.model.InclusiveGateway inclusiveGateway) |
org.activiti.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior |
createIntermediateCatchEventActivityBehavior(org.activiti.bpmn.model.IntermediateCatchEvent intermediateCatchEvent) |
org.activiti.engine.impl.bpmn.behavior.IntermediateThrowCompensationEventActivityBehavior |
createIntermediateThrowCompensationEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent,
org.activiti.engine.impl.bpmn.parser.CompensateEventDefinition compensateEventDefinition) |
org.activiti.engine.impl.bpmn.behavior.IntermediateThrowNoneEventActivityBehavior |
createIntermediateThrowNoneEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent) |
org.activiti.engine.impl.bpmn.behavior.IntermediateThrowSignalEventActivityBehavior |
createIntermediateThrowSignalEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent,
org.activiti.bpmn.model.Signal signal,
org.activiti.engine.impl.bpmn.parser.EventSubscriptionDeclaration eventSubscriptionDeclaration) |
org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior |
createMailActivityBehavior(org.activiti.bpmn.model.SendTask sendTask) |
org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior |
createMailActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.behavior.ManualTaskActivityBehavior |
createManualTaskActivityBehavior(org.activiti.bpmn.model.ManualTask manualTask) |
org.activiti.engine.impl.pvm.delegate.ActivityBehavior |
createMuleActivityBehavior(org.activiti.bpmn.model.SendTask sendTask,
org.activiti.bpmn.model.BpmnModel bpmnModel) |
org.activiti.engine.impl.pvm.delegate.ActivityBehavior |
createMuleActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask,
org.activiti.bpmn.model.BpmnModel bpmnModel) |
org.activiti.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior |
createNoneEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent) |
org.activiti.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior |
createNoneStartEventActivityBehavior(org.activiti.bpmn.model.StartEvent startEvent) |
org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior |
createParallelGatewayActivityBehavior(org.activiti.bpmn.model.ParallelGateway parallelGateway) |
org.activiti.engine.impl.bpmn.behavior.ParallelMultiInstanceBehavior |
createParallelMultiInstanceBehavior(org.activiti.engine.impl.pvm.process.ActivityImpl activity,
org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior innerActivityBehavior) |
org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior |
createReceiveTaskActivityBehavior(org.activiti.bpmn.model.ReceiveTask receiveTask) |
org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior |
createScriptTaskActivityBehavior(org.activiti.bpmn.model.ScriptTask scriptTask) |
org.activiti.engine.impl.bpmn.behavior.SequentialMultiInstanceBehavior |
createSequentialMultiInstanceBehavior(org.activiti.engine.impl.pvm.process.ActivityImpl activity,
org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior innerActivityBehavior) |
org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior |
createServiceTaskDelegateExpressionActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior |
createServiceTaskExpressionActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.behavior.ShellActivityBehavior |
createShellActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.behavior.SubProcessActivityBehavior |
createSubprocActivityBehavior(org.activiti.bpmn.model.SubProcess subProcess) |
org.activiti.engine.impl.bpmn.behavior.TaskActivityBehavior |
createTaskActivityBehavior(org.activiti.bpmn.model.Task task) |
org.activiti.engine.impl.bpmn.behavior.TerminateEndEventActivityBehavior |
createTerminateEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent) |
org.activiti.engine.impl.bpmn.behavior.TransactionActivityBehavior |
createTransactionActivityBehavior(org.activiti.bpmn.model.Transaction transaction) |
org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior |
createUserTaskActivityBehavior(org.activiti.bpmn.model.UserTask userTask,
org.activiti.engine.impl.task.TaskDefinition taskDefinition) |
org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior |
createWebServiceActivityBehavior(org.activiti.bpmn.model.SendTask sendTask) |
org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior |
createWebServiceActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask) |
org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory |
getWrappedActivityBehaviorFactory() |
void |
reset() |
void |
setAllServiceTasksNoOp() |
void |
setWrappedActivityBehaviorFactory(org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory wrappedActivityBehaviorFactory) |
protected org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory wrappedActivityBehaviorFactory
protected boolean allServiceTasksNoOp
public TestActivityBehaviorFactory()
public TestActivityBehaviorFactory(org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory wrappedActivityBehaviorFactory)
public org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory getWrappedActivityBehaviorFactory()
public void setWrappedActivityBehaviorFactory(org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory wrappedActivityBehaviorFactory)
public org.activiti.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior createNoneStartEventActivityBehavior(org.activiti.bpmn.model.StartEvent startEvent)
createNoneStartEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior createEventSubProcessStartEventActivityBehavior(org.activiti.bpmn.model.StartEvent startEvent, String activityId)
createEventSubProcessStartEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.TaskActivityBehavior createTaskActivityBehavior(org.activiti.bpmn.model.Task task)
createTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ManualTaskActivityBehavior createManualTaskActivityBehavior(org.activiti.bpmn.model.ManualTask manualTask)
createManualTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ReceiveTaskActivityBehavior createReceiveTaskActivityBehavior(org.activiti.bpmn.model.ReceiveTask receiveTask)
createReceiveTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior createUserTaskActivityBehavior(org.activiti.bpmn.model.UserTask userTask, org.activiti.engine.impl.task.TaskDefinition taskDefinition)
createUserTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.helper.ClassDelegate createClassDelegateServiceTask(org.activiti.bpmn.model.ServiceTask serviceTask)
createClassDelegateServiceTask
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior createServiceTaskDelegateExpressionActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask)
createServiceTaskDelegateExpressionActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior createServiceTaskExpressionActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask)
createServiceTaskExpressionActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior createWebServiceActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask)
createWebServiceActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior createWebServiceActivityBehavior(org.activiti.bpmn.model.SendTask sendTask)
createWebServiceActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior createMailActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask)
createMailActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior createMailActivityBehavior(org.activiti.bpmn.model.SendTask sendTask)
createMailActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.pvm.delegate.ActivityBehavior createMuleActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask, org.activiti.bpmn.model.BpmnModel bpmnModel)
createMuleActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.pvm.delegate.ActivityBehavior createMuleActivityBehavior(org.activiti.bpmn.model.SendTask sendTask, org.activiti.bpmn.model.BpmnModel bpmnModel)
createMuleActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.pvm.delegate.ActivityBehavior createCamelActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask, org.activiti.bpmn.model.BpmnModel bpmnModel)
createCamelActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.pvm.delegate.ActivityBehavior createCamelActivityBehavior(org.activiti.bpmn.model.SendTask sendTask, org.activiti.bpmn.model.BpmnModel bpmnModel)
createCamelActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ShellActivityBehavior createShellActivityBehavior(org.activiti.bpmn.model.ServiceTask serviceTask)
createShellActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.pvm.delegate.ActivityBehavior createBusinessRuleTaskActivityBehavior(org.activiti.bpmn.model.BusinessRuleTask businessRuleTask)
createBusinessRuleTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior createScriptTaskActivityBehavior(org.activiti.bpmn.model.ScriptTask scriptTask)
createScriptTaskActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior createExclusiveGatewayActivityBehavior(org.activiti.bpmn.model.ExclusiveGateway exclusiveGateway)
createExclusiveGatewayActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior createParallelGatewayActivityBehavior(org.activiti.bpmn.model.ParallelGateway parallelGateway)
createParallelGatewayActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.InclusiveGatewayActivityBehavior createInclusiveGatewayActivityBehavior(org.activiti.bpmn.model.InclusiveGateway inclusiveGateway)
createInclusiveGatewayActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.EventBasedGatewayActivityBehavior createEventBasedGatewayActivityBehavior(org.activiti.bpmn.model.EventGateway eventGateway)
createEventBasedGatewayActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.SequentialMultiInstanceBehavior createSequentialMultiInstanceBehavior(org.activiti.engine.impl.pvm.process.ActivityImpl activity, org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior innerActivityBehavior)
createSequentialMultiInstanceBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ParallelMultiInstanceBehavior createParallelMultiInstanceBehavior(org.activiti.engine.impl.pvm.process.ActivityImpl activity, org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior innerActivityBehavior)
createParallelMultiInstanceBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.SubProcessActivityBehavior createSubprocActivityBehavior(org.activiti.bpmn.model.SubProcess subProcess)
createSubprocActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.CallActivityBehavior createCallActivityBehavior(org.activiti.bpmn.model.CallActivity callActivity)
createCallActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.TransactionActivityBehavior createTransactionActivityBehavior(org.activiti.bpmn.model.Transaction transaction)
createTransactionActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior createIntermediateCatchEventActivityBehavior(org.activiti.bpmn.model.IntermediateCatchEvent intermediateCatchEvent)
createIntermediateCatchEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.IntermediateThrowNoneEventActivityBehavior createIntermediateThrowNoneEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent)
createIntermediateThrowNoneEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.IntermediateThrowSignalEventActivityBehavior createIntermediateThrowSignalEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent, org.activiti.bpmn.model.Signal signal, org.activiti.engine.impl.bpmn.parser.EventSubscriptionDeclaration eventSubscriptionDeclaration)
createIntermediateThrowSignalEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.IntermediateThrowCompensationEventActivityBehavior createIntermediateThrowCompensationEventActivityBehavior(org.activiti.bpmn.model.ThrowEvent throwEvent, org.activiti.engine.impl.bpmn.parser.CompensateEventDefinition compensateEventDefinition)
createIntermediateThrowCompensationEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior createNoneEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent)
createNoneEndEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.ErrorEndEventActivityBehavior createErrorEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent, org.activiti.bpmn.model.ErrorEventDefinition errorEventDefinition)
createErrorEndEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.CancelEndEventActivityBehavior createCancelEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent)
createCancelEndEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.TerminateEndEventActivityBehavior createTerminateEndEventActivityBehavior(org.activiti.bpmn.model.EndEvent endEvent)
createTerminateEndEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior createBoundaryEventActivityBehavior(org.activiti.bpmn.model.BoundaryEvent boundaryEvent, boolean interrupting, org.activiti.engine.impl.pvm.process.ActivityImpl activity)
createBoundaryEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public org.activiti.engine.impl.bpmn.behavior.CancelBoundaryEventActivityBehavior createCancelBoundaryEventActivityBehavior(org.activiti.bpmn.model.CancelEventDefinition cancelEventDefinition)
createCancelBoundaryEventActivityBehavior
in interface org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory
public void addClassDelegateMock(String originalClassFqn, String mockedClassFqn)
public void addNoOpServiceTaskById(String id)
public void addNoOpServiceTaskByClassName(String className)
public void setAllServiceTasksNoOp()
public void reset()
Copyright © 2016 Alfresco. All rights reserved.