Package org.jbpm.process.instance

## Interface ContextInstanceContainer

- All Known Subinterfaces:
    `ProcessInstance`, `WorkflowProcessInstance`
  All Known Implementing Classes:
    `CompositeContextNodeInstance`, `DynamicNodeInstance`, `EventSubProcessNodeInstance`, `ForEachNodeInstance`, `HumanTaskNodeInstance`, `ProcessInstanceImpl`, `RuleFlowProcessInstance`, `RuleSetNodeInstance`, `StateNodeInstance`, `SubProcessNodeInstance`, `WorkflowProcessInstanceImpl`, `WorkItemNodeInstance`

      public interface ContextInstanceContainer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addContextInstance​(String contextId, ContextInstance contextInstance)` |
    `ContextContainer` | `getContextContainer()` |
    `ContextInstance` | `getContextInstance​(String contextId, long id)` |
    `ContextInstance` | `getContextInstance​(Context context)` |
    `List<ContextInstance>` | `getContextInstances​(String contextId)` |
    `void` | `removeContextInstance​(String contextId, ContextInstance contextInstance)` |

- - ### Method Detail

    - #### getContextInstances

          List<ContextInstance> getContextInstances​(String contextId)

    - #### addContextInstance

          void addContextInstance​(String contextId,
                                  ContextInstance contextInstance)

    - #### removeContextInstance

          void removeContextInstance​(String contextId,
                                     ContextInstance contextInstance)

    - #### getContextInstance

          ContextInstance getContextInstance​(String contextId,
                                             long id)

    - #### getContextInstance

          ContextInstance getContextInstance​(Context context)

    - #### getContextContainer

          ContextContainer getContextContainer()