congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ProcessSummary.setDynamic
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: kiegroup/jbpm-wb

public Builder dynamic(boolean dynamic) {
  processSummary.setDynamic(dynamic);
  return this;
}
origin: org.jbpm/jbpm-wb-process-runtime-api

public Builder dynamic(boolean dynamic) {
  processSummary.setDynamic(dynamic);
  return this;
}
origin: org.jbpm/jbpm-wb-process-runtime-client

@Test
public void testProcessDefNameDefinitionPropagation() {
  final ProcessSummary processSummary = new ProcessSummary();
  processSummary.setProcessDefId("testProcessDefId");
  processSummary.setDeploymentId("testDeploymentId");
  processSummary.setProcessDefName("testProcessDefName");
  processSummary.setDynamic(false);
  presenter.selectProcessDefinition(processSummary);
  verify(processDefSelectionEvent).fire(any(ProcessDefSelectionEvent.class));
  ArgumentCaptor<ProcessDefSelectionEvent> argument = ArgumentCaptor.forClass(ProcessDefSelectionEvent.class);
  verify(processDefSelectionEvent).fire(argument.capture());
  final ProcessDefSelectionEvent event = argument.getValue();
  assertEquals(processSummary.getProcessDefName(),
         event.getProcessDefName());
  assertEquals(processSummary.getDeploymentId(),
         event.getDeploymentId());
  assertEquals(processSummary.getProcessDefId(),
         event.getProcessId());
  assertEquals(processSummary.isDynamic(),
         event.isDynamic());
  verify(breadcrumbs).addBreadCrumb(eq(PERSPECTIVE_ID),
                   eq(Constants.INSTANCE.ProcessDefinitionBreadcrumb((processSummary.getName()))),
                   eq(Commands.DO_NOTHING));
}
org.jbpm.workbench.pr.modelProcessSummarysetDynamic

Popular methods of ProcessSummary

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

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 17 Free Sublime Text Plugins
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