com.atlassian.jira.plugin.user
Interface PreDeleteUserErrors
- All Known Implementing Classes:
- ReferencePreDeleteUserErrors
@PublicSpi
public interface PreDeleteUserErrors
Interface defines the implementation point for plugins wishing to interact with the
pre-delete-user-errors plugin point. Implementing this interface and returning a
non-empty collection of WebErrorMessage
indicates the provided user should
not be deleted.
- Since:
- v6.0
getPreDeleteUserErrors
List<WebErrorMessage> getPreDeleteUserErrors(com.atlassian.crowd.embedded.api.User user)
- This will be called when a user is about to be deleted. Returning a non-empty
list of
WebErrorMessage
will prevent the user from being deleted.
- Parameters:
user
- that is being considered for deletion
- Returns:
- a list of
WebErrorMessage
about to the provided user
Copyright © 2002-2014 Atlassian. All Rights Reserved.