org.kie.api.runtime

## Interface Context

- All Known Subinterfaces:
    RequestContext

      public interface Context

  The context of an execution

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(String identifier)` Return the value associated with the given identifier in this context
    `String` | `getName()` The unique name of this context
    `boolean` | `has(String identifier)` Return true if the given identifier has an associated value in this context
    `void` | `remove(String identifier)` Remove the value associated with the given identifier in this context
    `void` | `set(String identifier, Object value)` Set a value on this context with this given identifier

- - ### Method Detail

    - #### getName

          String getName()

      The unique name of this context

    - #### get

          Object get(String identifier)

      Return the value associated with the given identifier in this context

    - #### set

          void set(String identifier,
                   Object value)

      Set a value on this context with this given identifier

    - #### remove

          void remove(String identifier)

      Remove the value associated with the given identifier in this context

    - #### has

          boolean has(String identifier)

      Return true if the given identifier has an associated value in this context

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