Interface KieBuilder


public interface KieBuilder
KieBuilder is a builder for the resources contained in a KieModule
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A marker interace implemented by the different type of projects supported by this KieBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds all the KieBases contained in the KieModule for which this KieBuilder has been created
    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
    Returns the KieModule for which this KieBuilder has been created
    getKieModule(Class<? extends KieBuilder.ProjectType> projectClass)
    Returns the KieModule for which this KieBuilder has been created of the specific projectClass
    Returns 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 on
    setDependencies(Resource... dependencies)
    Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends on
  • Method Details

    • 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. Invokes buildAll() 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