congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ProcessSummary.setNodes
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: kiegroup/jbpm-wb

public Builder nodes(Collection<ProcessNodeSummary> nodes) {
  processSummary.setNodes(nodes);
  return this;
}
origin: org.jbpm/jbpm-wb-process-runtime-api

public Builder nodes(Collection<ProcessNodeSummary> nodes) {
  processSummary.setNodes(nodes);
  return this;
}
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;
  }
}
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;
  }
}
org.jbpm.workbench.pr.modelProcessSummarysetNodes

Popular methods of ProcessSummary

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • putExtra (Intent)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JButton (javax.swing)
  • JFrame (javax.swing)
  • Best plugins for Eclipse
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