jBPM distribution 6.0.0.CR1

org.jbpm.examples.checklist.context
Class PotentialOwnerContextConstraint

java.lang.Object
  extended by org.jbpm.examples.checklist.context.PotentialOwnerContextConstraint
All Implemented Interfaces:
ChecklistContextConstraint

public class PotentialOwnerContextConstraint
extends Object
implements ChecklistContextConstraint


Constructor Summary
PotentialOwnerContextConstraint(String userId)
           
 
Method Summary
 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

jBPM distribution 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.