# Uses of Interface
org.kie.api.builder.KieModule

Packages that use KieModule
Package
Description
org.kie.api.builder

- ## Uses of KieModule in org.kie.api.builder

  Methods in org.kie.api.builder that return KieModule
  Modifier and Type
  Method
  Description
  `KieModule`
  KieRepository.`addKieModule(Resource resource, Resource... dependencies)`
  Creates a new KieModule using the provided resource and dependencies and automatically adds it to this KieRepository
  `KieModule`
  KieBuilder.`getKieModule()`
  Returns the KieModule for which this KieBuilder has been created
  `KieModule`
  KieBuilder.`getKieModule(Class<? extends KieBuilder.ProjectType> projectClass)`
  Returns the KieModule for which this KieBuilder has been created of the specific projectClass
  `KieModule`
  KieRepository.`getKieModule(ReleaseId releaseId)`
  Retrieve a KieModule with the given ReleaseId in this KieRepository.
  `KieModule`
  KieRepository.`removeKieModule(ReleaseId releaseId)`
  Remove a no longer useful KieModule, identified by the given ReleaseId, from this KieRepository
  Methods in org.kie.api.builder with parameters of type KieModule
  Modifier and Type
  Method
  Description
  `void`
  KieRepository.`addKieModule(KieModule kModule)`
  Adds a new KieModule to this KieRepository
  `KieBuilder`
  KieBuilder.`setDependencies(KieModule... dependencies)`
  Sets the other KieModules from which the KieModule that has to be built by this KieBuilder depends on