Package | Description |
---|---|
org.kie.api.builder.model | |
org.kie.api.runtime |
The runtime engine classes, including KieSession and StatelessKieSession.
|
Modifier and Type | Method and Description |
---|---|
KieBaseModel |
KieBaseModel.addInclude(String kBaseName)
Includes the resources of the KieBase with the given name in this KieBaseModel
|
KieBaseModel |
KieBaseModel.addPackage(String pkg)
Adds a package (pattern) to the list of the packages defining the set of resources
that have to be included in the KieBase.
|
KieBaseModel |
KieBaseModel.addRuleTemplate(String dtable,
String template,
int row,
int col)
Defines a new RuleTemplateModel for this KieBaseModel
|
KieBaseModel |
KieSessionModel.getKieBaseModel()
Returns the KieBaseModel which this KieSessionModel belongs to
|
KieBaseModel |
KieModuleModel.newKieBaseModel()
Creates a new anonymous KieBaseModel and adds it to this KieModuleModel
|
KieBaseModel |
KieModuleModel.newKieBaseModel(String name)
Creates a new KieBaseModel with the given name and adds it to this KieModuleModel
|
KieBaseModel |
KieBaseModel.removeInclude(String kBaseName)
Remove the inclusion of the KieBase with the given name
|
KieBaseModel |
KieBaseModel.removeKieSessionModel(String qName)
Removes the KieSessionModel with the give name from this KieBaseModel
|
KieBaseModel |
KieBaseModel.removePackage(String pkg)
Removes a package (pattern) from the list of the packages defining the set of resources
that have to be included in the KieBase.
|
KieBaseModel |
KieBaseModel.setDeclarativeAgenda(DeclarativeAgendaOption declarativeAgenda)
Sets the DeclarativeAgendaOption for this KieBaseModel
Default is DeclarativeAgendaOption.DISABLED
|
KieBaseModel |
KieBaseModel.setDefault(boolean isDefault)
Sets the KieBase generated from this KieBaseModel as the default one,
i.e. the one that can be loaded from the KieContainer without having to pass its name.
|
KieBaseModel |
KieBaseModel.setEqualsBehavior(EqualityBehaviorOption equalsBehaviour)
Sets the EqualityBehavior for this KieBaseModel.
|
KieBaseModel |
KieBaseModel.setEventProcessingMode(EventProcessingOption eventProcessingMode)
Sets the EventProcessingOption for this KieBaseModel
Default is EventProcessingOption.CLOUD
|
KieBaseModel |
KieBaseModel.setScope(String scope)
Sets the CDI scope for this KieBaseModel
|
KieBaseModel |
KieBaseModel.setSequential(SequentialOption sequential)
Sets the SequentialOption for this KieBaseModel
Default is SequentialOption.NO
|
KieBaseModel |
KieBaseModel.setSessionsPool(SessionsPoolOption sessionPool)
Sets the SessionPoolOption used by the KieBase to create new sessions
Default is SessionPoolOption.NO
|
Modifier and Type | Method and Description |
---|---|
Map<String,KieBaseModel> |
KieModuleModel.getKieBaseModels()
Returns all the KieBaseModel defined in this KieModuleModel mapped by their names
|
Modifier and Type | Method and Description |
---|---|
KieBaseModel |
KieContainer.getKieBaseModel(String kBaseName)
Returns the KieBaseModel for the KieBase with the given name
|
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.