org.kuali.rice.kew.rule
Class MockRole
java.lang.Object
org.kuali.rice.kew.rule.AbstractWorkflowAttribute
org.kuali.rice.kew.rule.AbstractRoleAttribute
org.kuali.rice.kew.rule.UnqualifiedRoleAttribute
org.kuali.rice.kew.rule.MockRole
- All Implemented Interfaces:
- Serializable, RoleAttribute, WorkflowRuleAttribute
public class MockRole
- extends UnqualifiedRoleAttribute
A RoleAttribute implementation that can be used in tests to easily provide canned/pre-configured
recipients. The role name should be a comma-delimited list of user authentication ids:
org.kuali.rice.kew.rule.MockRole!user1,user2,user3
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockRole
public MockRole()
isValidRoleName
protected boolean isValidRoleName(String roleName)
- Overridden to accept any role name
- Overrides:
isValidRoleName
in class UnqualifiedRoleAttribute
- See Also:
UnqualifiedRoleAttribute.isValidRoleName(java.lang.String)
resolveRole
protected ResolvedQualifiedRole resolveRole(RouteContext routeContext,
String roleName)
- Specified by:
resolveRole
in class UnqualifiedRoleAttribute
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.