Package org.camunda.bpm.cockpit
Class Cockpit
- java.lang.Object
-
- org.camunda.bpm.cockpit.Cockpit
-
public class Cockpit extends Object
Provides access to the camunda cockpit core services.
- Author:
- roman.smirnov, nico.rehwaldt
-
-
Field Summary
Fields Modifier and Type Field Description protected static CockpitRuntimeDelegate
COCKPIT_RUNTIME_DELEGATE
TheCockpitRuntimeDelegate
is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
-
Constructor Summary
Constructors Constructor Description Cockpit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
getRuntimeDelegate()
Returns an instance ofCockpitRuntimeDelegate
static void
setCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)
A setter to set theCockpitRuntimeDelegate
.
-
-
-
Field Detail
-
COCKPIT_RUNTIME_DELEGATE
protected static CockpitRuntimeDelegate COCKPIT_RUNTIME_DELEGATE
TheCockpitRuntimeDelegate
is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
-
-
Method Detail
-
getQueryService
public static QueryService getQueryService(String processEngineName)
Returns a configuredQueryService
to execute custom statements to the corresponding process engine- Parameters:
processEngineName
-- Returns:
- a
QueryService
-
getCommandExecutor
public static CommandExecutor getCommandExecutor(String processEngineName)
Returns a configuredCommandExecutor
to execute commands to the corresponding process engine- Parameters:
processEngineName
-- Returns:
- a
CommandExecutor
-
getProcessEngine
public static ProcessEngine getProcessEngine(String processEngineName)
-
getRuntimeDelegate
public static CockpitRuntimeDelegate getRuntimeDelegate()
Returns an instance ofCockpitRuntimeDelegate
- Returns:
-
setCockpitRuntimeDelegate
public static void setCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)
A setter to set theCockpitRuntimeDelegate
.- Parameters:
cockpitRuntimeDelegate
-
-
-