public class Cockpit extends Object
Provides access to the camunda cockpit core services.
Modifier and Type | Field and Description |
---|---|
protected static CockpitRuntimeDelegate |
COCKPIT_RUNTIME_DELEGATE
The
CockpitRuntimeDelegate is an delegate that will be
initialized by bootstrapping camunda cockpit with an specific
instance |
Constructor and Description |
---|
Cockpit() |
Modifier and Type | Method and Description |
---|---|
static CommandExecutor |
getCommandExecutor(String processEngineName)
Returns a configured
CommandExecutor to execute
commands to the corresponding process engine |
static ProcessEngine |
getProcessEngine(String processEngineName) |
static QueryService |
getQueryService(String processEngineName)
Returns a configured
QueryService to execute custom
statements to the corresponding process engine |
static CockpitRuntimeDelegate |
getRuntimeDelegate()
Returns an instance of
CockpitRuntimeDelegate |
static void |
setCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)
A setter to set the
CockpitRuntimeDelegate . |
protected static CockpitRuntimeDelegate COCKPIT_RUNTIME_DELEGATE
CockpitRuntimeDelegate
is an delegate that will be
initialized by bootstrapping camunda cockpit with an specific
instancepublic static QueryService getQueryService(String processEngineName)
QueryService
to execute custom
statements to the corresponding process engineprocessEngineName
- QueryService
public static CommandExecutor getCommandExecutor(String processEngineName)
CommandExecutor
to execute
commands to the corresponding process engineprocessEngineName
- CommandExecutor
public static ProcessEngine getProcessEngine(String processEngineName)
public static CockpitRuntimeDelegate getRuntimeDelegate()
CockpitRuntimeDelegate
public static void setCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)
CockpitRuntimeDelegate
.cockpitRuntimeDelegate
- Copyright © 2022. All rights reserved.