Codota Logo
ProcessSummary.setServiceTasks
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.jbpm/jbpm-wb-process-runtime-api

public Builder serviceTasks(Map<String, String> serviceTasks) {
  processSummary.setServiceTasks(serviceTasks);
  return this;
}
origin: kiegroup/jbpm-wb

public Builder serviceTasks(Map<String, String> serviceTasks) {
  processSummary.setServiceTasks(serviceTasks);
  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.modelProcessSummarysetServiceTasks

Popular methods of ProcessSummary

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

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now