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
FieldsModifier and TypeFieldDescriptionprotected static CockpitRuntimeDelegateTheCockpitRuntimeDelegateis an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandExecutorgetCommandExecutor(String processEngineName) Returns a configuredCommandExecutorto execute commands to the corresponding process enginestatic ProcessEnginegetProcessEngine(String processEngineName) static QueryServicegetQueryService(String processEngineName) Returns a configuredQueryServiceto execute custom statements to the corresponding process enginestatic CockpitRuntimeDelegateReturns an instance ofCockpitRuntimeDelegatestatic voidsetCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate) A setter to set theCockpitRuntimeDelegate.
-
Field Details
-
COCKPIT_RUNTIME_DELEGATE
TheCockpitRuntimeDelegateis an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
-
-
Constructor Details
-
Cockpit
public Cockpit()
-
-
Method Details
-
getQueryService
Returns a configuredQueryServiceto execute custom statements to the corresponding process engine- Parameters:
processEngineName-- Returns:
- a
QueryService
-
getCommandExecutor
Returns a configuredCommandExecutorto 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-
-