com.atlassian.jira.permission
Class DenyWorkflowPermission
java.lang.Object
com.atlassian.jira.permission.DenyWorkflowPermission
- All Implemented Interfaces:
- WorkflowPermission
public class DenyWorkflowPermission
- extends Object
- implements WorkflowPermission
Denies the permission for everyone.
DenyWorkflowPermission
public DenyWorkflowPermission(int permissionId)
getUsers
public Set getUsers(PermissionContext ctx)
- Description copied from interface:
WorkflowPermission
- Get users specified by this permission (eg. group members, or a single user).
- Specified by:
getUsers
in interface WorkflowPermission
- Returns:
- A set of
User
s.
allows
public boolean allows(int permission,
Issue issue,
com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
WorkflowPermission
- Whether this workflow permission allows a permission.
- Specified by:
allows
in interface WorkflowPermission
- Parameters:
permission
- The requested permissionissue
- The current issue whose workflow step we consider.user
- The user requesting the permission
- Returns:
- Whether the workflow grants the permission.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2011 Atlassian. All Rights Reserved.