Package org.camunda.bpm.cockpit
Class Cockpit
java.lang.Object
org.camunda.bpm.cockpit.Cockpit
Provides access to the camunda cockpit core services.
- Author:
- roman.smirnov, nico.rehwaldt
-
Field Summary
Modifier and TypeFieldDescriptionprotected static CockpitRuntimeDelegate
TheCockpitRuntimeDelegate
is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandExecutor
getCommandExecutor
(String processEngineName) Returns a configuredCommandExecutor
to execute commands to the corresponding process enginestatic ProcessEngine
getProcessEngine
(String processEngineName) static QueryService
getQueryService
(String processEngineName) Returns a configuredQueryService
to execute custom statements to the corresponding process enginestatic CockpitRuntimeDelegate
Returns an instance ofCockpitRuntimeDelegate
static void
setCockpitRuntimeDelegate
(CockpitRuntimeDelegate cockpitRuntimeDelegate) A setter to set theCockpitRuntimeDelegate
.
-
Field Details
-
COCKPIT_RUNTIME_DELEGATE
TheCockpitRuntimeDelegate
is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
-
-
Constructor Details
-
Cockpit
public Cockpit()
-
-
Method Details
-
getQueryService
Returns a configuredQueryService
to execute custom statements to the corresponding process engine- Parameters:
processEngineName
-- Returns:
- a
QueryService
-
getCommandExecutor
Returns a configuredCommandExecutor
to execute commands to the corresponding process engine- Parameters:
processEngineName
-- Returns:
- a
CommandExecutor
-
getProcessEngine
-
getRuntimeDelegate
Returns an instance ofCockpitRuntimeDelegate
- Returns:
-
setCockpitRuntimeDelegate
A setter to set theCockpitRuntimeDelegate
.- Parameters:
cockpitRuntimeDelegate
-
-