org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory Java Examples

The following examples show how to use org.activiti.engine.impl.bpmn.parser.factory.ActivityBehaviorFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ActivitiMockSupport.java    From activiti6-boot2 with Apache License 2.0 5 votes vote down vote up
public ActivitiMockSupport(ProcessEngine processEngine) {
  ProcessEngineConfigurationImpl processEngineConfiguration = ((ProcessEngineImpl) processEngine).getProcessEngineConfiguration();
  ActivityBehaviorFactory existingActivityBehaviorFactory = processEngineConfiguration.getActivityBehaviorFactory();
  this.testActivityBehaviorFactory = new TestActivityBehaviorFactory(existingActivityBehaviorFactory);

  processEngineConfiguration.setActivityBehaviorFactory(testActivityBehaviorFactory);
  processEngineConfiguration.getBpmnParser().setActivityBehaviorFactory(testActivityBehaviorFactory);
}
 
Example #2
Source File: ActivitiMockSupport.java    From flowable-engine with Apache License 2.0 5 votes vote down vote up
public ActivitiMockSupport(ProcessEngine processEngine) {
    ProcessEngineConfigurationImpl processEngineConfiguration = ((ProcessEngineImpl) processEngine).getProcessEngineConfiguration();
    org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl activiti5ProcessEngineConfiguration = (org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl) processEngineConfiguration.getFlowable5CompatibilityHandler()
            .getRawProcessConfiguration();
    ActivityBehaviorFactory existingActivityBehaviorFactory = activiti5ProcessEngineConfiguration.getActivityBehaviorFactory();
    this.testActivityBehaviorFactory = new TestActivityBehaviorFactory(existingActivityBehaviorFactory);

    activiti5ProcessEngineConfiguration.setActivityBehaviorFactory(testActivityBehaviorFactory);
    activiti5ProcessEngineConfiguration.getBpmnParser().setActivityBehaviorFactory(testActivityBehaviorFactory);
}
 
Example #3
Source File: TestActivityBehaviorFactory.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getWrappedActivityBehaviorFactory() {
    return wrappedActivityBehaviorFactory;
}
 
Example #4
Source File: CustomBpmnParser.java    From lemon with Apache License 2.0 4 votes vote down vote up
public void setActivityBehaviorFactory(
        ActivityBehaviorFactory activityBehaviorFactory) {
    ((DefaultActivityBehaviorFactory) activityBehaviorFactory)
            .setExpressionManager(expressionManager);
    super.setActivityBehaviorFactory(activityBehaviorFactory);
}
 
Example #5
Source File: ActivityBehaviorFactoryDelegate.java    From openwebflow with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ActivityBehaviorFactoryDelegate(ActivityBehaviorFactory source)
{
	_source = source;
}
 
Example #6
Source File: MyActivityBehaviorFactory.java    From openwebflow with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public MyActivityBehaviorFactory(ActivityBehaviorFactory source, List<TaskAssignmentHandler> handlers)
{
	super(source);
	_handlers = handlers;
}
 
Example #7
Source File: BpmnParse.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public void setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory) {
    this.activityBehaviorFactory = activityBehaviorFactory;
}
 
Example #8
Source File: BpmnParse.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getActivityBehaviorFactory() {
    return activityBehaviorFactory;
}
 
Example #9
Source File: BpmnParser.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public void setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory) {
    this.activityBehaviorFactory = activityBehaviorFactory;
}
 
Example #10
Source File: BpmnParser.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getActivityBehaviorFactory() {
    return activityBehaviorFactory;
}
 
Example #11
Source File: ProcessEngineConfigurationImpl.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public ProcessEngineConfigurationImpl setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory) {
    this.activityBehaviorFactory = activityBehaviorFactory;
    return this;
}
 
Example #12
Source File: ProcessEngineConfigurationImpl.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getActivityBehaviorFactory() {
    return activityBehaviorFactory;
}
 
Example #13
Source File: DefaultProcessEngineFactory.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
protected void copyActivityBehaviorFactory(ProcessEngineConfigurationImpl flowable6Configuration, org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl flowable5Configuration) {
    if (flowable6Configuration.getFlowable5ActivityBehaviorFactory() != null) {
        flowable5Configuration.setActivityBehaviorFactory((ActivityBehaviorFactory) flowable6Configuration.getFlowable5ActivityBehaviorFactory());
    }
}
 
Example #14
Source File: TestActivityBehaviorFactory.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public void setWrappedActivityBehaviorFactory(
        ActivityBehaviorFactory wrappedActivityBehaviorFactory) {
    this.wrappedActivityBehaviorFactory = wrappedActivityBehaviorFactory;
}
 
Example #15
Source File: TestHelper.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public static TestActivityBehaviorFactory initializeTestActivityBehaviorFactory(ActivityBehaviorFactory existingActivityBehaviorFactory) {
  return new TestActivityBehaviorFactory(existingActivityBehaviorFactory);
}
 
Example #16
Source File: TestActivityBehaviorFactory.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public TestActivityBehaviorFactory(ActivityBehaviorFactory wrappedActivityBehaviorFactory) {
    this.wrappedActivityBehaviorFactory = wrappedActivityBehaviorFactory;
}
 
Example #17
Source File: TestHelper.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public static TestActivityBehaviorFactory initializeTestActivityBehaviorFactory(ActivityBehaviorFactory existingActivityBehaviorFactory) {
    return new TestActivityBehaviorFactory(existingActivityBehaviorFactory);
}
 
Example #18
Source File: TestActivityBehaviorFactory.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public void setWrappedActivityBehaviorFactory(ActivityBehaviorFactory wrappedActivityBehaviorFactory) {
  this.wrappedActivityBehaviorFactory = wrappedActivityBehaviorFactory;
}
 
Example #19
Source File: TestActivityBehaviorFactory.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getWrappedActivityBehaviorFactory() {
  return wrappedActivityBehaviorFactory;
}
 
Example #20
Source File: TestActivityBehaviorFactory.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public TestActivityBehaviorFactory(ActivityBehaviorFactory wrappedActivityBehaviorFactory) {
  this.wrappedActivityBehaviorFactory = wrappedActivityBehaviorFactory;
}
 
Example #21
Source File: BpmnParse.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public void setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory) {
  this.activityBehaviorFactory = activityBehaviorFactory;
}
 
Example #22
Source File: BpmnParse.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getActivityBehaviorFactory() {
  return activityBehaviorFactory;
}
 
Example #23
Source File: BpmnParser.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public void setActivityBehaviorFactory(ActivityBehaviorFactory activityBehaviorFactory) {
  this.activityBehaviorFactory = activityBehaviorFactory;
}
 
Example #24
Source File: BpmnParser.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public ActivityBehaviorFactory getActivityBehaviorFactory() {
  return activityBehaviorFactory;
}