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

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

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

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

public Builder processDefName(String processDefName) {
  processSummary.setProcessDefName(processDefName);
  return this;
}
origin: kiegroup/jbpm-wb

public Builder processDefName(String processDefName) {
  processSummary.setProcessDefName(processDefName);
  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.modelProcessSummarysetProcessDefName

Popular methods of ProcessSummary

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

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 25 Plugins for Webstorm
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