public class MockUserDeleteVeto extends Object implements UserDeleteVeto
Constructor and Description |
---|
MockUserDeleteVeto() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowDeleteUser(ApplicationUser user) |
long |
getCommentCountByAuthor(ApplicationUser user) |
void |
setDefaultAllow(boolean defaultAllow) |
MockUserDeleteVeto |
setDefaultCommentCount(int defaultCommentCount) |
public boolean allowDeleteUser(ApplicationUser user)
allowDeleteUser
in interface UserDeleteVeto
public long getCommentCountByAuthor(ApplicationUser user)
getCommentCountByAuthor
in interface UserDeleteVeto
public void setDefaultAllow(boolean defaultAllow)
public MockUserDeleteVeto setDefaultCommentCount(int defaultCommentCount)
Copyright © 2002-2019 Atlassian. All Rights Reserved.