KieResources is a factory that provides Resource implementations for the desired IO resource. Example structure: Example:

KieResourceKJAR example:   Download  

  Download: Three examples of using with KnowledgeBuilder class: ResourceType.BPMN2 ResourceType.DRL ResourceType.DTABLE Structure of the project: ResourceType.BPMN2:




  org.kie.internal.builder.KnowledgeBuilder The KnowledgeBuilder is responsible for taking source files, such as a .drl file, a .bpmn2 file or an .xls file, and turning them into a KnowledgePackage of rule and process definitions which a KnowledgeBase can consume. It uses the ResourceType enum to tell…