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 |
---|---|
KieSessionModel |
KieSessionModel.addCalendar(String name,
String type)
Add a calendar to this KieSessionModel
|
KieSessionModel |
KieBaseModel.newKieSessionModel(String name)
Creates a new KieSessionModel with the given name and adds it to this KieBaseModel
|
KieSessionModel |
KieSessionModel.setBeliefSystem(BeliefSystemTypeOption beliefSystem)
Sets the BeliefSystem for this KieSessionModel.
|
KieSessionModel |
KieSessionModel.setClockType(ClockTypeOption clockType)
Sets the ClockType for this KieSessionModel.
|
KieSessionModel |
KieSessionModel.setConsoleLogger(String consoleLogger)
Sets a ConsoleLogger with the given name
|
KieSessionModel |
KieSessionModel.setDefault(boolean isDefault)
Sets the KieSession generated from this KieSessionModel as the default one,
i.e. the one that can be loaded from the KieContainer without having to pass its name.
|
KieSessionModel |
KieSessionModel.setFileLogger(String fileName)
Sets a non-threaded FileLogger with the given name and 30 seconds of logging interval
|
KieSessionModel |
KieSessionModel.setFileLogger(String fileName,
int interval,
boolean threaded)
Sets a FileLogger with the given name, threaded behavior and logging interval
|
KieSessionModel |
KieSessionModel.setScope(String scope)
Sets the CDI scope for this KieSessionModel
Default is javax.enterprise.context.ApplicationScoped
|
KieSessionModel |
KieSessionModel.setType(KieSessionModel.KieSessionType type)
Sets the type for this KieSessionModel.
|
Modifier and Type | Method and Description |
---|---|
Map<String,KieSessionModel> |
KieBaseModel.getKieSessionModels()
Returns all the KieSessionModel defined in this KieBaseModel mapped by their names
|
Modifier and Type | Method and Description |
---|---|
KieSessionModel |
KieContainer.getKieSessionModel(String kSessionName)
Returns the KieSessionModel for the KieSession with the given name
|
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.