Tabnine Logo
ProcessRuntime
Code IndexAdd Tabnine to your IDE (free)

How to use
ProcessRuntime
in
org.kie.api.runtime.process

Best Java code snippets using org.kie.api.runtime.process.ProcessRuntime (Showing top 4 results out of 315)

origin: kiegroup/jbpm

public void messageReceived(String messageId, Object message) {
  Long workItemId = waiting.get(messageId);
  if (workItemId == null) {
    return;
  }
  Map<String, Object> results = new HashMap<String, Object>();
  results.put("Message", message);
  ksession.getWorkItemManager().completeWorkItem(workItemId, results);
}
origin: jboss-switchyard/components

getProcessRuntime().signalEvent(faultEventId, fault, workItem.getProcessInstanceId());
origin: org.switchyard.components/switchyard-component-common-knowledge

getProcessRuntime().signalEvent(faultEventId, fault, workItem.getProcessInstanceId());
origin: org.jbpm/jbpm-bpmn2

public void messageReceived(String messageId, Object message) {
  Long workItemId = waiting.get(messageId);
  if (workItemId == null) {
    return;
  }
  Map<String, Object> results = new HashMap<String, Object>();
  results.put("Message", message);
  ksession.getWorkItemManager().completeWorkItem(workItemId, results);
}
org.kie.api.runtime.processProcessRuntime

Javadoc

The ProcessRuntime is a super-interface for all org.kie.api.runtime.KieSessions.

Most used methods

  • getWorkItemManager
    Returns the WorkItemManager related to this session. This can be used to register new WorkItemHandle
  • signalEvent
    Signals the process instance that an event has occurred. The type parameter defines which type of ev

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now