## Uses of Interface
org.kie.api.builder.model.KieSessionModel

- Packages that use KieSessionModel
  Package | Description
  --- | ---
  org.kie.api.builder.model |
  org.kie.api.runtime | The runtime engine classes, including KieSession and StatelessKieSession.

- - ### Uses of KieSessionModel in org.kie.api.builder.model

    Methods in org.kie.api.builder.model that return KieSessionModel
    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.

    Methods in org.kie.api.builder.model that return types with arguments of type KieSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,KieSessionModel>` | KieBaseModel.`getKieSessionModels()` Returns all the KieSessionModel defined in this KieBaseModel mapped by their names

  - ### Uses of KieSessionModel in org.kie.api.runtime

    Methods in org.kie.api.runtime that return KieSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `KieSessionModel` | KieContainer.`getKieSessionModel(String kSessionName)` Returns the KieSessionModel for the KieSession with the given name

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.