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

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

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

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

public Builder associatedEntities(Map<String, String[]> associatedEntities) {
  processSummary.setAssociatedEntities(associatedEntities);
  return this;
}
origin: kiegroup/jbpm-wb

public Builder associatedEntities(Map<String, String[]> associatedEntities) {
  processSummary.setAssociatedEntities(associatedEntities);
  return this;
}
origin: org.jbpm/jbpm-wb-process-runtime-backend

  @Override
  public ProcessSummary apply(final ProcessDefinition definition) {
    if (definition == null) {
      return null;
    }

    final ProcessSummary summary = new ProcessSummary(definition.getId(),
                             definition.getName(),
                             definition.getContainerId(),
                             definition.getVersion(),
                             definition.isDynamic());

    summary.setAssociatedEntities(definition.getAssociatedEntities());
    summary.setProcessVariables(definition.getProcessVariables());
    summary.setReusableSubProcesses(definition.getReusableSubProcesses());
    summary.setServiceTasks(definition.getServiceTasks());
    summary.setDynamicFormsEnabled(KieServerUtils.isKieServerRendererEnabled());
    summary.setNodes(definition.getNodes() == null ? emptyList() : definition.getNodes().stream().map(node -> new ProcessNodeSummary(node.getId(),
                                                                     node.getName(),
                                                                     node.getType(),
                                                                     node.getUniqueId())).collect(toList()));

    summary.setTimers(definition.getTimers() == null ? emptyList() : definition.getTimers().stream().map(timer -> new TimerSummary(timer.getId(),
                                                                    timer.getNodeId(),
                                                                    timer.getNodeName(),
                                                                    timer.getUniqueId())).collect(toList()));
    return summary;
  }
}
origin: kiegroup/jbpm-wb

  @Override
  public ProcessSummary apply(final ProcessDefinition definition) {
    if (definition == null) {
      return null;
    }

    final ProcessSummary summary = new ProcessSummary(definition.getId(),
                             definition.getName(),
                             definition.getContainerId(),
                             definition.getVersion(),
                             definition.isDynamic());

    summary.setAssociatedEntities(definition.getAssociatedEntities());
    summary.setProcessVariables(definition.getProcessVariables());
    summary.setReusableSubProcesses(definition.getReusableSubProcesses());
    summary.setServiceTasks(definition.getServiceTasks());
    summary.setDynamicFormsEnabled(KieServerUtils.isKieServerRendererEnabled());
    summary.setNodes(definition.getNodes() == null ? emptyList() : definition.getNodes().stream().map(node -> new ProcessNodeSummary(node.getId(),
                                                                     node.getName(),
                                                                     node.getType(),
                                                                     node.getUniqueId())).collect(toList()));

    summary.setTimers(definition.getTimers() == null ? emptyList() : definition.getTimers().stream().map(timer -> new TimerSummary(timer.getId(),
                                                                    timer.getNodeId(),
                                                                    timer.getNodeName(),
                                                                    timer.getUniqueId())).collect(toList()));
    return summary;
  }
}
org.jbpm.workbench.pr.modelProcessSummarysetAssociatedEntities

Popular methods of ProcessSummary

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

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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