Codota Logo
BaseDescr
Code IndexAdd Codota to your IDE (free)

How to use
BaseDescr
in
org.drools.compiler.lang.descr

Best Java code snippets using org.drools.compiler.lang.descr.BaseDescr (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: kiegroup/jbpm

@Test
public void testReturnValueDescrCreation() throws Exception {
  TestJavaProcessDialect javaProcessDialect = new TestJavaProcessDialect();
  ProcessDialectRegistry.setDialect("java", javaProcessDialect);
  String filename = "BPMN2-GatewaySplit-SequenceConditions.bpmn2";
  KieBase kbase = createKnowledgeBase(filename);
  assertFalse( "No " + ActionDescr.class.getSimpleName() + " instances caught for testing!",
      javaProcessDialect.getActionDescrs().isEmpty() );
  for( BaseDescr descr : javaProcessDialect.getActionDescrs() ) {
    assertNotNull( descr.getClass().getSimpleName() +" has a null resource field", descr.getResource() );
  }
  assertFalse( "No " + ReturnValueDescr.class.getSimpleName() + " instances caught for testing!",
      javaProcessDialect.getReturnValueDescrs().isEmpty() );
  for( BaseDescr descr : javaProcessDialect.getReturnValueDescrs() ) {
    assertNotNull( descr.getClass().getSimpleName() +" has a null resource field", descr.getResource() );
  }
}
origin: org.drools/drools-compiler

assertEquals(stiltonError.getLine(), stiltonError.getDescr().getLine());
origin: org.drools/drools-reteoo

stiltonError.getDescr().getLine() );
origin: org.drools/drools-compiler

private static void checkResource( BaseDescr descr ) {
  if( descr != null ) {
    assertNotNull(descr.getClass().getSimpleName() + ".resource is null!", descr.getResource());
  }
}
origin: org.jbpm/jbpm-bpmn2

@Test
public void testReturnValueDescrCreation() throws Exception {
  TestJavaProcessDialect javaProcessDialect = new TestJavaProcessDialect();
  ProcessDialectRegistry.setDialect("java", javaProcessDialect);
  String filename = "BPMN2-GatewaySplit-SequenceConditions.bpmn2";
  KieBase kbase = createKnowledgeBase(filename);
  assertFalse( "No " + ActionDescr.class.getSimpleName() + " instances caught for testing!",
      javaProcessDialect.getActionDescrs().isEmpty() );
  for( BaseDescr descr : javaProcessDialect.getActionDescrs() ) {
    assertNotNull( descr.getClass().getSimpleName() +" has a null resource field", descr.getResource() );
  }
  assertFalse( "No " + ReturnValueDescr.class.getSimpleName() + " instances caught for testing!",
      javaProcessDialect.getReturnValueDescrs().isEmpty() );
  for( BaseDescr descr : javaProcessDialect.getReturnValueDescrs() ) {
    assertNotNull( descr.getClass().getSimpleName() +" has a null resource field", descr.getResource() );
  }
}
org.drools.compiler.lang.descrBaseDescr

Most used methods

  • getLine
  • getResource

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now