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

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

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

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.modelProcessSummarysetDynamicFormsEnabled

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

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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