Tabnine Logo
MergeMode
Code IndexAdd Tabnine to your IDE (free)

How to use
MergeMode
in
org.kie.internal.runtime.conf

Best Java code snippets using org.kie.internal.runtime.conf.MergeMode (Showing top 3 results out of 315)

origin: org.jbpm/jbpm-console-ng-business-domain-backend

private List<KModuleDeploymentUnitSummary> getDeployedUnits(final QueryFilter filter) {
  Collection<DeployedUnit> deployedUnits = deploymentService.getDeployedUnits();
  List<KModuleDeploymentUnitSummary> unitsIds = new ArrayList<KModuleDeploymentUnitSummary>(deployedUnits.size());
  for (DeployedUnit du : deployedUnits) {
    KModuleDeploymentUnit kdu = (KModuleDeploymentUnit) du.getDeploymentUnit();
    KModuleDeploymentUnitSummary duSummary = new KModuleDeploymentUnitSummary(kdu.getIdentifier(), kdu.getGroupId(),
        kdu.getArtifactId(), kdu.getVersion(), kdu.getKbaseName(), kdu.getKsessionName(), kdu.getStrategy().toString(), kdu.getMergeMode().toString());
    if(filter.getParams() == null || filter.getParams().get("textSearch") == null || ((String)filter.getParams().get("textSearch")).isEmpty()){
      unitsIds.add(duSummary);
    }else if(kdu.getIdentifier().toLowerCase().contains((String)filter.getParams().get("textSearch"))){
      unitsIds.add(duSummary);
    }
    
    duSummary.setActive(du.isActive());
  }   sort(unitsIds, filter);
  return unitsIds;
}
origin: org.kie.server/kie-server-services-jbpm

unit.setMergeMode(MergeMode.valueOf(mergeMode));
origin: org.jbpm/jbpm-console-ng-business-domain-backend

((KModuleDeploymentUnit)unit).setMergeMode(MergeMode.valueOf(((KModuleDeploymentUnitSummary) unitSummary).getMergeMode()));
org.kie.internal.runtime.confMergeMode

Javadoc

Defines merging strategy of two descriptors

Most used methods

  • valueOf
  • toString

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Collectors (java.util.stream)
  • ImageIO (javax.imageio)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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