org.jbpm.examples.checklist.context

## Class TaskStatusContextConstraint

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

- All Implemented Interfaces:
    ChecklistContextConstraint

      public class TaskStatusContextConstraint
      extends Object
      implements ChecklistContextConstraint

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TaskStatusContextConstraint(List<ChecklistItem.Status> statusses)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

    - #### TaskStatusContextConstraint

          public TaskStatusContextConstraint(List<ChecklistItem.Status> statusses)

  - ### Method Detail

    - #### acceptsTask

          public boolean acceptsTask(ChecklistItem item)

      Specified by:
        `acceptsTask` in interface `ChecklistContextConstraint`

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