Package org.kie.api.builder
Interface KieBuilder
-
public interface KieBuilderKieBuilder is a builder for the resources contained in a KieModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceKieBuilder.ProjectTypeA marker interace implemented by the different type of projects supported by this KieBuilder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KieBuilderbuildAll()Builds all the KieBases contained in the KieModule for which this KieBuilder has been createdKieBuilderbuildAll(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 projectClassKieModulegetKieModule()Returns the KieModule for which this KieBuilder has been createdKieModulegetKieModule(Class<? extends KieBuilder.ProjectType> projectClass)Returns the KieModule for which this KieBuilder has been created of the specific projectClassResultsgetResults()Returns the Results of the building process.KieBuildersetDependencies(KieModule... dependencies)Sets the other KieModules from which the KieModule that has to be built by this KieBuilder depends onKieBuildersetDependencies(Resource... dependencies)Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends on
-
-
-
Method Detail
-
setDependencies
KieBuilder setDependencies(KieModule... dependencies)
Sets the other KieModules from which the KieModule that has to be built by this KieBuilder depends on
-
setDependencies
KieBuilder setDependencies(Resource... dependencies)
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
KieBuilder buildAll(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 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
KieModule getKieModule(Class<? extends KieBuilder.ProjectType> projectClass)
Returns the KieModule for which this KieBuilder has been created of the specific projectClass
-
-