## 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 | Description
    --- | --- | ---
    `KieSessionModel` | KieSessionModel.`addCalendar​(java.lang.String name, java.lang.String type)` | Add a calendar to this KieSessionModel
    `KieSessionModel` | KieBaseModel.`newKieSessionModel​(java.lang.String name)` | Creates a new KieSessionModel with the given name and adds it to this KieBaseModel
    `KieSessionModel` | KieSessionModel.`setAccumulateNullPropagation​(boolean accumulateNullPropagation)` |
    `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​(java.lang.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.`setDirectFiring​(boolean isDefault)` | Sets direct firing on this KieSession
    `KieSessionModel` | KieSessionModel.`setFileLogger​(java.lang.String fileName)` | Sets a non-threaded FileLogger with the given name and 30 seconds of logging interval
    `KieSessionModel` | KieSessionModel.`setFileLogger​(java.lang.String fileName, int interval, boolean threaded)` | Sets a FileLogger with the given name, threaded behavior and logging interval
    `KieSessionModel` | KieSessionModel.`setScope​(java.lang.String scope)` | Sets the CDI scope for this KieSessionModel Default is javax.enterprise.context.ApplicationScoped
    `KieSessionModel` | KieSessionModel.`setThreadSafe​(boolean threadSafe)` |
    `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 | Description
    --- | --- | ---
    `java.util.Map<java.lang.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 | Description
    --- | --- | ---
    `KieSessionModel` | KieContainer.`getKieSessionModel​(java.lang.String kSessionName)` | Returns the KieSessionModel for the KieSession with the given name