Interface KnowledgeBuilderFactoryService

All Superinterfaces:
Comparable<KieService>, KieService

public interface KnowledgeBuilderFactoryService extends KieService
KnowledgeBuilderFactoryService is used by the KnowledgeBuilderFactory to "provide" it's concrete implementation. This class is not considered stable and may change, the user is protected from this change by using the Factory api, which is considered stable.
  • Method Details

    • newKnowledgeBuilderConfiguration

      KnowledgeBuilderConfiguration newKnowledgeBuilderConfiguration()
      Instantiate and return a new KnowledgeBuilderConfiguration
      Returns:
      the KnowledgeBuilderConfiguration
    • newKnowledgeBuilderConfiguration

      KnowledgeBuilderConfiguration newKnowledgeBuilderConfiguration(ClassLoader classLoader)
      Instantiate and return a new KnowledgeBuilderConfiguration
      Parameters:
      classLoader - Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()
      Returns:
    • newKnowledgeBuilderConfiguration

      KnowledgeBuilderConfiguration newKnowledgeBuilderConfiguration(Properties properties, ClassLoader classLoader)
      Instantiate and return a new KnowledgeBuilderConfiguration
      Parameters:
      properties - Properties file to process, can be null;
      classLoader - Provided ClassLoader, can be null and then ClassLoader defaults to Thread.currentThread().getContextClassLoader()
      Returns:
    • newDecisionTableConfiguration

      DecisionTableConfiguration newDecisionTableConfiguration()
      DecisionTables need to take a configuration of the InputType and XLS based ones can also take a Worksheet name.
      Returns:
      The DecisionTableConfiguration
    • newKnowledgeBuilder

      KnowledgeBuilder newKnowledgeBuilder()
      Instantiate and return a new KnowledgeBuilder using the default KnowledgeBuilderConfiguration
      Returns:
      The KnowledgeBuilder
    • newKnowledgeBuilder

      Instantiate and return a new KnowledgeBuilder using the given KnowledgeBuilderConfiguration
      Parameters:
      conf - The KnowledgeBuilderConfiguration
      Returns:
      The KnowledgeBuilder
    • newKnowledgeBuilder

      KnowledgeBuilder newKnowledgeBuilder(KieBase kbase)
    • newKnowledgeBuilder

      KnowledgeBuilder newKnowledgeBuilder(KieBase kbase, KnowledgeBuilderConfiguration conf)