Package org.jbpm.examples.checklist.context

## Class ProcessInstanceIdContextConstraint

- java.lang.Object
- - org.jbpm.examples.checklist.context.ProcessInstanceIdContextConstraint

- All Implemented Interfaces:
    `ChecklistContextConstraint`

      public class ProcessInstanceIdContextConstraint
      extends Object
      implements ChecklistContextConstraint

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ProcessInstanceIdContextConstraint​(long processInstanceId)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `acceptsTask​(ChecklistItem item)` |

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

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

- - ### Constructor Detail

    - #### ProcessInstanceIdContextConstraint

          public ProcessInstanceIdContextConstraint​(long processInstanceId)

  - ### Method Detail

    - #### acceptsTask

          public boolean acceptsTask​(ChecklistItem item)

      Specified by:
        `acceptsTask` in interface `ChecklistContextConstraint`