# Uses of Interface
org.kie.api.definition.KiePackage

Packages that use KiePackage
Package
Description
org.kie.api
Base KIE API classes.
org.kie.api.event.kiebase
Events emitted while updating the definitions in the KieBase.
org.kie.api.internal.weaver

- ## Uses of KiePackage in org.kie.api

  Methods in org.kie.api that return KiePackage
  Modifier and Type
  Method
  Description
  `KiePackage`
  KieBase.`getKiePackage(String packageName)`
  Returns a reference to the `KiePackage` identified by the given name.
  Methods in org.kie.api that return types with arguments of type KiePackage
  Modifier and Type
  Method
  Description
  `Collection<KiePackage>`
  KieBase.`getKiePackages()`
  Returns a collection of the `KiePackage`s that exist in this `KieBase`.

- ## Uses of KiePackage in org.kie.api.event.kiebase

  Methods in org.kie.api.event.kiebase that return KiePackage
  Modifier and Type
  Method
  Description
  `KiePackage`
  AfterKiePackageAddedEvent.`getKiePackage()`
  `KiePackage`
  AfterKiePackageRemovedEvent.`getKiePackage()`
  `KiePackage`
  BeforeKiePackageAddedEvent.`getKiePackage()`
  `KiePackage`
  BeforeKiePackageRemovedEvent.`getKiePackage()`

- ## Uses of KiePackage in org.kie.api.internal.weaver

  Methods in org.kie.api.internal.weaver with parameters of type KiePackage
  Modifier and Type
  Method
  Description
  `void`
  KieWeavers.`merge(KiePackage pkg, ResourceTypePackage rtkKpg)`
  `void`
  KieWeaverService.`merge(KiePackage kiePkg, P rtPkg)`
  `void`
  KieWeavers.`weave(KiePackage newPkg, ResourceTypePackage rtkKpg)`
  `void`
  KieWeaverService.`weave(KiePackage kiePkg, P rtPkg)`