Tabnine Logo
CompositeProcessEnginePlugin.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.camunda.bpm.engine.impl.cfg.CompositeProcessEnginePlugin
constructor

Best Java code snippets using org.camunda.bpm.engine.impl.cfg.CompositeProcessEnginePlugin.<init> (Showing top 14 results out of 315)

origin: camunda/camunda-bpm-platform

@Test
public void verifyToString() throws Exception {
 assertThat(new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).toString(), is("CompositeProcessEnginePlugin[PluginA, PluginB]"));
}
origin: camunda/camunda-bpm-platform

@Test
public void allPluginsOnPreInit() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).preInit(CONFIGURATION);
 ORDER.verify(PLUGIN_A).preInit(CONFIGURATION);
 ORDER.verify(PLUGIN_B).preInit(CONFIGURATION);
}
origin: camunda/camunda-bpm-platform

@Test
public void addPlugins() throws Exception {
 CompositeProcessEnginePlugin composite = new CompositeProcessEnginePlugin(PLUGIN_A);
 composite.addProcessEnginePlugins(Arrays.asList(PLUGIN_B));
 assertThat(composite.getPlugins().size(), is(2));
 assertThat(composite.getPlugins().get(0), is(PLUGIN_A));
 assertThat(composite.getPlugins().get(1), is(PLUGIN_B));
}
origin: camunda/camunda-bpm-platform

@Test
public void allPluginsOnPostInit() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postInit(CONFIGURATION);
 ORDER.verify(PLUGIN_A).postInit(CONFIGURATION);
 ORDER.verify(PLUGIN_B).postInit(CONFIGURATION);
}
origin: camunda/camunda-bpm-platform

@Test
public void allPluginsOnPostProcessEngineBuild() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postProcessEngineBuild(ENGINE);
 ORDER.verify(PLUGIN_A).postProcessEngineBuild(ENGINE);
 ORDER.verify(PLUGIN_B).postProcessEngineBuild(ENGINE);
}
origin: camunda/camunda-bpm-platform

@Test
public void addPlugin() throws Exception {
 CompositeProcessEnginePlugin composite = new CompositeProcessEnginePlugin(PLUGIN_A);
 assertThat(composite.getPlugins().size(), is(1));
 assertThat(composite.getPlugins().get(0), is(PLUGIN_A));
 composite.addProcessEnginePlugin(PLUGIN_B);
 assertThat(composite.getPlugins().size(), is(2));
 assertThat(composite.getPlugins().get(1), is(PLUGIN_B));
}
origin: camunda/camunda-bpm-spring-boot-starter

@Bean
@ConditionalOnMissingBean(ProcessEngineConfigurationImpl.class)
public ProcessEngineConfigurationImpl processEngineConfigurationImpl(List<ProcessEnginePlugin> processEnginePlugins) {
 final SpringProcessEngineConfiguration configuration = CamundaSpringBootUtil.springProcessEngineConfiguration();
 configuration.getProcessEnginePlugins().add(new CompositeProcessEnginePlugin(processEnginePlugins));
 return configuration;
}
origin: org.camunda.bpm.springboot/camunda-bpm-spring-boot-starter

@Bean
@ConditionalOnMissingBean(ProcessEngineConfigurationImpl.class)
public ProcessEngineConfigurationImpl processEngineConfigurationImpl(List<ProcessEnginePlugin> processEnginePlugins) {
 final SpringProcessEngineConfiguration configuration = CamundaSpringBootUtil.springProcessEngineConfiguration();
 configuration.getProcessEnginePlugins().add(new CompositeProcessEnginePlugin(processEnginePlugins));
 return configuration;
}
origin: org.camunda.bpm/camunda-engine

@Test
public void allPluginsOnPostInit() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postInit(CONFIGURATION);
 ORDER.verify(PLUGIN_A).postInit(CONFIGURATION);
 ORDER.verify(PLUGIN_B).postInit(CONFIGURATION);
}
origin: org.camunda.bpm/camunda-engine

@Test
public void allPluginsOnPostProcessEngineBuild() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postProcessEngineBuild(ENGINE);
 ORDER.verify(PLUGIN_A).postProcessEngineBuild(ENGINE);
 ORDER.verify(PLUGIN_B).postProcessEngineBuild(ENGINE);
}
origin: org.camunda.bpm/camunda-engine

@Test
public void allPluginsOnPreInit() throws Exception {
 new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).preInit(CONFIGURATION);
 ORDER.verify(PLUGIN_A).preInit(CONFIGURATION);
 ORDER.verify(PLUGIN_B).preInit(CONFIGURATION);
}
origin: org.camunda.bpm/camunda-engine

@Test
public void verifyToString() throws Exception {
 assertThat(new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).toString(), is("CompositeProcessEnginePlugin[PluginA, PluginB]"));
}
origin: org.camunda.bpm/camunda-engine

@Test
public void addPlugins() throws Exception {
 CompositeProcessEnginePlugin composite = new CompositeProcessEnginePlugin(PLUGIN_A);
 composite.addProcessEnginePlugins(Arrays.asList(PLUGIN_B));
 assertThat(composite.getPlugins().size(), is(2));
 assertThat(composite.getPlugins().get(0), is(PLUGIN_A));
 assertThat(composite.getPlugins().get(1), is(PLUGIN_B));
}
origin: org.camunda.bpm/camunda-engine

@Test
public void addPlugin() throws Exception {
 CompositeProcessEnginePlugin composite = new CompositeProcessEnginePlugin(PLUGIN_A);
 assertThat(composite.getPlugins().size(), is(1));
 assertThat(composite.getPlugins().get(0), is(PLUGIN_A));
 composite.addProcessEnginePlugin(PLUGIN_B);
 assertThat(composite.getPlugins().size(), is(2));
 assertThat(composite.getPlugins().get(1), is(PLUGIN_B));
}
org.camunda.bpm.engine.impl.cfgCompositeProcessEnginePlugin<init>

Javadoc

New instance with empty list.

Popular methods of CompositeProcessEnginePlugin

  • addProcessEnginePlugin
    Add one (or more) plugins.
  • addProcessEnginePlugins
    Add collection of plugins. If collection is not sortable, order of plugin execution can not be guara
  • toList
  • getPlugins
    Get all plugins.
  • postInit
  • postProcessEngineBuild
  • preInit
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Option (scala)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now