org.camunda.bpm.cockpit
Class Cockpit

java.lang.Object
  extended by 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
protected static CockpitRuntimeDelegate COCKPIT_RUNTIME_DELEGATE
          The CockpitRuntimeDelegate is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance
 
Constructor Summary
Cockpit()
           
 
Method Summary
static CommandExecutor getCommandExecutor(String processEngineName)
          Returns a configured CommandExecutor to execute commands to the corresponding process engine
static org.camunda.bpm.engine.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COCKPIT_RUNTIME_DELEGATE

protected static CockpitRuntimeDelegate COCKPIT_RUNTIME_DELEGATE
The CockpitRuntimeDelegate is an delegate that will be initialized by bootstrapping camunda cockpit with an specific instance

Constructor Detail

Cockpit

public Cockpit()
Method Detail

getQueryService

public static QueryService getQueryService(String processEngineName)
Returns a configured QueryService to execute custom statements to the corresponding process engine

Parameters:
processEngineName -
Returns:
a QueryService

getCommandExecutor

public static CommandExecutor getCommandExecutor(String processEngineName)
Returns a configured CommandExecutor to execute commands to the corresponding process engine

Parameters:
processEngineName -
Returns:
a CommandExecutor

getProcessEngine

public static org.camunda.bpm.engine.ProcessEngine getProcessEngine(String processEngineName)

getRuntimeDelegate

public static CockpitRuntimeDelegate getRuntimeDelegate()
Returns an instance of CockpitRuntimeDelegate

Returns:

setCockpitRuntimeDelegate

public static void setCockpitRuntimeDelegate(CockpitRuntimeDelegate cockpitRuntimeDelegate)
A setter to set the CockpitRuntimeDelegate.

Parameters:
cockpitRuntimeDelegate -


Copyright © 2018 camunda services GmbH. All rights reserved.