Package org.camunda.bpm.cockpit
Class Cockpit
- java.lang.Object
-
- org.camunda.bpm.cockpit.Cockpit
-
public class Cockpit extends java.lang.ObjectProvides access to the camunda cockpit core services.
- Author:
- roman.smirnov, nico.rehwaldt
-
-
Field Summary
Fields Modifier and Type Field Description protected static CockpitRuntimeDelegateCOCKPIT_RUNTIME_DELEGATETheCockpitRuntimeDelegateis 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 CommandExecutorgetCommandExecutor(java.lang.String processEngineName)Returns a configuredCommandExecutorto execute commands to the corresponding process enginestatic ProcessEnginegetProcessEngine(java.lang.String processEngineName)static QueryServicegetQueryService(java.lang.String processEngineName)Returns a configuredQueryServiceto execute custom statements to the corresponding process enginestatic CockpitRuntimeDelegategetRuntimeDelegate()Returns an instance ofCockpitRuntimeDelegatestatic voidsetCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)A setter to set theCockpitRuntimeDelegate.
-
-
-
Field Detail
-
COCKPIT_RUNTIME_DELEGATE
protected static CockpitRuntimeDelegate COCKPIT_RUNTIME_DELEGATE
TheCockpitRuntimeDelegateis an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
-
-
Method Detail
-
getQueryService
public static QueryService getQueryService(java.lang.String processEngineName)
Returns a configuredQueryServiceto execute custom statements to the corresponding process engine- Parameters:
processEngineName-- Returns:
- a
QueryService
-
getCommandExecutor
public static CommandExecutor getCommandExecutor(java.lang.String processEngineName)
Returns a configuredCommandExecutorto execute commands to the corresponding process engine- Parameters:
processEngineName-- Returns:
- a
CommandExecutor
-
getProcessEngine
public static ProcessEngine getProcessEngine(java.lang.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-
-
-