Tabnine Logo
ProcessSummary.getServiceTasks
Code IndexAdd Tabnine to your IDE (free)

How to use
getServiceTasks
method
in
org.jbpm.workbench.pr.model.ProcessSummary

Best Java code snippets using org.jbpm.workbench.pr.model.ProcessSummary.getServiceTasks (Showing top 3 results out of 315)

origin: org.jbpm/jbpm-wb-process-runtime-client

  @Override
  public void callback(ProcessSummary process) {
    if (process != null) {
      refreshTaskDef(serverTemplateId,
              deploymentId,
              processId);
      refreshAssociatedEntities(process.getAssociatedEntities());
      refreshRequiredInputData(process.getProcessVariables());
      refreshReusableSubProcesses(process.getReusableSubProcesses());
      refreshProcessItems(process);
      refreshServiceTasks(process.getServiceTasks());
    }
  }
}).getProcess(new ProcessDefinitionKey(serverTemplateId,
origin: kiegroup/jbpm-wb

public static void assertProcessSummary(final ProcessDefinition pd,
                    final ProcessSummary ps) {
  assertNotNull(ps);
  assertEquals(pd.getId(),
         ps.getId());
  assertEquals(pd.getId(),
         ps.getProcessDefId());
  assertEquals(pd.getName(),
         ps.getName());
  assertEquals(pd.getName(),
         ps.getProcessDefName());
  assertEquals(pd.isDynamic(),
         ps.isDynamic());
  assertEquals(pd.getVersion(),
         ps.getVersion());
  assertEquals(pd.getContainerId(),
         ps.getDeploymentId());
  assertEquals(pd.getAssociatedEntities(),
         ps.getAssociatedEntities());
  assertEquals(pd.getProcessVariables(),
         ps.getProcessVariables());
  assertEquals(pd.getReusableSubProcesses(),
         ps.getReusableSubProcesses());
  assertEquals(pd.getServiceTasks(),
         ps.getServiceTasks());
  assertThat(ps.getNodes()).hasSameSizeAs(pd.getNodes());
  assertThat(ps.getTimers()).hasSameSizeAs(pd.getTimers());
}
origin: org.jbpm/jbpm-wb-process-runtime-backend

public static void assertProcessSummary(final ProcessDefinition pd,
                    final ProcessSummary ps) {
  assertNotNull(ps);
  assertEquals(pd.getId(),
         ps.getId());
  assertEquals(pd.getId(),
         ps.getProcessDefId());
  assertEquals(pd.getName(),
         ps.getName());
  assertEquals(pd.getName(),
         ps.getProcessDefName());
  assertEquals(pd.isDynamic(),
         ps.isDynamic());
  assertEquals(pd.getVersion(),
         ps.getVersion());
  assertEquals(pd.getContainerId(),
         ps.getDeploymentId());
  assertEquals(pd.getAssociatedEntities(),
         ps.getAssociatedEntities());
  assertEquals(pd.getProcessVariables(),
         ps.getProcessVariables());
  assertEquals(pd.getReusableSubProcesses(),
         ps.getReusableSubProcesses());
  assertEquals(pd.getServiceTasks(),
         ps.getServiceTasks());
  assertThat(ps.getNodes()).hasSameSizeAs(pd.getNodes());
  assertThat(ps.getTimers()).hasSameSizeAs(pd.getTimers());
}
org.jbpm.workbench.pr.modelProcessSummarygetServiceTasks

Popular methods of ProcessSummary

  • <init>
  • getProcessDefId
  • isDynamic
  • getDeploymentId
  • getName
  • getProcessDefName
  • getAssociatedEntities
  • getNodes
  • getProcessVariables
  • getReusableSubProcesses
  • getTimers
  • setAssociatedEntities
  • getTimers,
  • setAssociatedEntities,
  • setDeploymentId,
  • setDynamic,
  • setNodes,
  • setProcessDefId,
  • setProcessDefName,
  • setProcessVariables,
  • setReusableSubProcesses

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
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 25 Plugins for Webstorm
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