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

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

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

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

private void refreshProcessItems(ProcessSummary process) {
  if (process != null) {
    view.setProcessNameText(process.getName());
  } else {
    // set to empty to ensure it's clear state
    view.setProcessNameText("");
  }
}
origin: org.jbpm/jbpm-wb-process-runtime-client

protected void selectProcessDefinition(final ProcessSummary processSummary) {
  setupDetailBreadcrumb(constants.ProcessDefinitionBreadcrumb(processSummary.getName()));
  placeManager.goTo(PerspectiveIds.PROCESS_DEFINITION_DETAILS_SCREEN);
  fireProcessDefSelectionEvent(processSummary);
}
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));
}
origin: kiegroup/jbpm-wb

public static void assertProcessSummary(final ProcessDefinition pd,
                    final ProcessSummary ps) {
  assertNotNull(ps);
  assertEquals(pd.getId(),
         ps.getId());
  assertEquals(pd.getId(),
         ps.getProcessDefId());
  assertEquals(pd.getName(),
         ps.getName());
  assertEquals(pd.getName(),
         ps.getProcessDefName());
  assertEquals(pd.isDynamic(),
         ps.isDynamic());
  assertEquals(pd.getVersion(),
         ps.getVersion());
  assertEquals(pd.getContainerId(),
         ps.getDeploymentId());
  assertEquals(pd.getAssociatedEntities(),
         ps.getAssociatedEntities());
  assertEquals(pd.getProcessVariables(),
         ps.getProcessVariables());
  assertEquals(pd.getReusableSubProcesses(),
         ps.getReusableSubProcesses());
  assertEquals(pd.getServiceTasks(),
         ps.getServiceTasks());
  assertThat(ps.getNodes()).hasSameSizeAs(pd.getNodes());
  assertThat(ps.getTimers()).hasSameSizeAs(pd.getTimers());
}
origin: org.jbpm/jbpm-wb-process-runtime-backend

public static void assertProcessSummary(final ProcessDefinition pd,
                    final ProcessSummary ps) {
  assertNotNull(ps);
  assertEquals(pd.getId(),
         ps.getId());
  assertEquals(pd.getId(),
         ps.getProcessDefId());
  assertEquals(pd.getName(),
         ps.getName());
  assertEquals(pd.getName(),
         ps.getProcessDefName());
  assertEquals(pd.isDynamic(),
         ps.isDynamic());
  assertEquals(pd.getVersion(),
         ps.getVersion());
  assertEquals(pd.getContainerId(),
         ps.getDeploymentId());
  assertEquals(pd.getAssociatedEntities(),
         ps.getAssociatedEntities());
  assertEquals(pd.getProcessVariables(),
         ps.getProcessVariables());
  assertEquals(pd.getReusableSubProcesses(),
         ps.getReusableSubProcesses());
  assertEquals(pd.getServiceTasks(),
         ps.getServiceTasks());
  assertThat(ps.getNodes()).hasSameSizeAs(pd.getNodes());
  assertThat(ps.getTimers()).hasSameSizeAs(pd.getTimers());
}
org.jbpm.workbench.pr.modelProcessSummarygetName

Popular methods of ProcessSummary

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

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Join (org.hibernate.mapping)
  • Option (scala)
  • Top plugins for WebStorm
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