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

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

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

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

private void fireProcessDefSelectionEvent(final ProcessSummary processSummary) {
  processDefSelected.fire(new ProcessDefSelectionEvent(processSummary.getProcessDefId(),
                             processSummary.getDeploymentId(),
                             getSelectedServerTemplate(),
                             processSummary.getProcessDefName(),
                             processSummary.isDynamic()));
}
origin: org.jbpm/jbpm-wb-process-runtime-client

  protected List<ConditionalAction<ProcessSummary>> getConditionalActions() {
    return Arrays.asList(

        new ConditionalAction<>(
            constants.Start(),
            processSummary ->
                presenter.openGenericForm(processSummary.getProcessDefId(),
                             processSummary.getDeploymentId(),
                             processSummary.getProcessDefName(),
                             processSummary.isDynamic()),
            presenter.getStartCondition(),
            false
        ),

        new ConditionalAction<>(
            constants.View_Process_Instances(),
            processSummary ->
                presenter.viewProcessInstances(processSummary.getProcessDefId()),
            presenter.getViewProcessInstanceActionCondition(),
            true
        )
    );
  }
}
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.modelProcessSummarygetDeploymentId

Popular methods of ProcessSummary

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Notification (javax.management)
  • Best plugins for Eclipse
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