org.jbpm.process.instance

## Interface ContextInstanceContainer

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

      public interface ContextInstanceContainer

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addContextInstance(String contextId, ContextInstance contextInstance)`
    `ContextContainer` | `getContextContainer()`
    `ContextInstance` | `getContextInstance(Context context)`
    `ContextInstance` | `getContextInstance(String contextId, long id)`
    `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()

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