org.jbpm.services.task.rule.impl

## Class RuleContextProviderImpl

- java.lang.Object
- - org.jbpm.services.task.rule.impl.RuleContextProviderImpl

- All Implemented Interfaces:
    RuleContextProvider

      public class RuleContextProviderImpl
      extends Object
      implements RuleContextProvider

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addGlobals(String scope, Map<String,Object> global)`
    `void` | `addKieBase(String scope, org.kie.api.KieBase kbase)`
    `static RuleContextProviderImpl` | `get()`
    `Map<String,Object>` | `getGlobals(String scope)`
    `org.kie.api.KieBase` | `getKieBase(String scope)`
    `void` | `initialize()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### get

          public static RuleContextProviderImpl get()

    - #### initialize

          public void initialize()

    - #### getKieBase

          public org.kie.api.KieBase getKieBase(String scope)

      Specified by:
        `getKieBase` in interface `RuleContextProvider`

    - #### getGlobals

          public Map<String,Object> getGlobals(String scope)

      Specified by:
        `getGlobals` in interface `RuleContextProvider`

    - #### addGlobals

          public void addGlobals(String scope,
                                 Map<String,Object> global)

      Specified by:
        `addGlobals` in interface `RuleContextProvider`

    - #### addKieBase

          public void addKieBase(String scope,
                                 org.kie.api.KieBase kbase)

      Specified by:
        `addKieBase` in interface `RuleContextProvider`

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