Package org.jbpm.process.core

## Interface ContextContainer

- All Known Subinterfaces:
    `Process`, `WorkflowProcess`
  All Known Implementing Classes:
    `CompositeContextNode`, `ContextContainerImpl`, `DynamicNode`, `EventSubProcessNode`, `ForEachNode`, `HumanTaskNode`, `ProcessImpl`, `RuleFlowProcess`, `RuleSetNode`, `StateNode`, `SubProcessNode`, `WorkflowProcessImpl`, `WorkItemNode`

      public interface ContextContainer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addContext​(Context context)` |
    `Context` | `getContext​(String contextType, long id)` |
    `List<Context>` | `getContexts​(String contextType)` |
    `Context` | `getDefaultContext​(String contextType)` |
    `void` | `setDefaultContext​(Context context)` |

- - ### Method Detail

    - #### getContexts

          List<Context> getContexts​(String contextType)

    - #### addContext

          void addContext​(Context context)

    - #### getContext

          Context getContext​(String contextType,
                             long id)

    - #### setDefaultContext

          void setDefaultContext​(Context context)

    - #### getDefaultContext

          Context getDefaultContext​(String contextType)