com.atlassian.jira.user
Class MockUserDeleteVeto
java.lang.Object
com.atlassian.jira.user.MockUserDeleteVeto
- All Implemented Interfaces:
- UserDeleteVeto
public class MockUserDeleteVeto
- extends Object
- implements UserDeleteVeto
- Since:
- v6.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockUserDeleteVeto
public MockUserDeleteVeto()
allowDeleteUser
public boolean allowDeleteUser(com.atlassian.crowd.embedded.api.User user)
- Specified by:
allowDeleteUser
in interface UserDeleteVeto
getCommentCountByAuthor
public long getCommentCountByAuthor(ApplicationUser user)
- Specified by:
getCommentCountByAuthor
in interface UserDeleteVeto
setDefaultAllow
public void setDefaultAllow(boolean defaultAllow)
setDefaultCommentCount
public MockUserDeleteVeto setDefaultCommentCount(int defaultCommentCount)
Copyright © 2002-2014 Atlassian. All Rights Reserved.