Class TestProcessEngineProvider
- java.lang.Object
-
- org.camunda.bpm.cockpit.plugin.test.application.TestProcessEngineProvider
-
- All Implemented Interfaces:
ProcessEngineProvider
public class TestProcessEngineProvider extends Object implements ProcessEngineProvider
Uses the
BpmPlatform
and exposes the default process engine- Author:
- Daniel Meyer, nico.rehwaldt
-
-
Constructor Summary
Constructors Constructor Description TestProcessEngineProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessEngine
getDefaultProcessEngine()
Provides the default engine.ProcessEngine
getProcessEngine(String name)
Provides the engine with the given name.Set<String>
getProcessEngineNames()
Returns the name of all known process engines.
-
-
-
Method Detail
-
getDefaultProcessEngine
public ProcessEngine getDefaultProcessEngine()
Description copied from interface:ProcessEngineProvider
Provides the default engine. Has to return null if no default engine exists.- Specified by:
getDefaultProcessEngine
in interfaceProcessEngineProvider
-
getProcessEngine
public ProcessEngine getProcessEngine(String name)
Description copied from interface:ProcessEngineProvider
Provides the engine with the given name. Has to return null if no such engine exists.- Specified by:
getProcessEngine
in interfaceProcessEngineProvider
-
getProcessEngineNames
public Set<String> getProcessEngineNames()
Description copied from interface:ProcessEngineProvider
Returns the name of all known process engines. Returns an empty set if no engines are accessible.- Specified by:
getProcessEngineNames
in interfaceProcessEngineProvider
-
-