org.jbpm.examples.checklist.context

## Class PotentialOwnerContextConstraint

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

- All Implemented Interfaces:
    ChecklistContextConstraint

      public class PotentialOwnerContextConstraint
      extends Object
      implements ChecklistContextConstraint

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PotentialOwnerContextConstraint(String userId)`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### PotentialOwnerContextConstraint

          public PotentialOwnerContextConstraint(String userId)

  - ### Method Detail

    - #### getUserId

          public String getUserId()

    - #### acceptsTask

          public boolean acceptsTask(ChecklistItem item)

      Specified by:
        `acceptsTask` in interface `ChecklistContextConstraint`

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