Package org.kie.api.builder
Interface KieBuilder
public interface KieBuilder
KieBuilder is a builder for the resources contained in a KieModule
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA marker interace implemented by the different type of projects supported by this KieBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuildAll()Builds all the KieBases contained in the KieModule for which this KieBuilder has been createdbuildAll(Class<? extends KieBuilder.ProjectType> projectClass) Builds all the KieBases contained in the KieModule for which this KieBuilder has been created creating a project of the type specified by the provided projectClassReturns the KieModule for which this KieBuilder has been createdgetKieModule(Class<? extends KieBuilder.ProjectType> projectClass) Returns the KieModule for which this KieBuilder has been created of the specific projectClassReturns the Results of the building process.setDependencies(KieModule... dependencies) Sets the other KieModules from which the KieModule that has to be built by this KieBuilder depends onsetDependencies(Resource... dependencies) Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends on
-
Method Details
-
setDependencies
Sets the other KieModules from which the KieModule that has to be built by this KieBuilder depends on -
setDependencies
Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends on -
buildAll
KieBuilder buildAll()Builds all the KieBases contained in the KieModule for which this KieBuilder has been created -
buildAll
Builds all the KieBases contained in the KieModule for which this KieBuilder has been created creating a project of the type specified by the provided projectClass -
getResults
Results getResults()Returns the Results of the building process. InvokesbuildAll()if the KieModule hasn't been built yet -
getKieModule
KieModule getKieModule()Returns the KieModule for which this KieBuilder has been created -
getKieModule
Returns the KieModule for which this KieBuilder has been created of the specific projectClass
-