Package 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
-
Method Summary
Modifier and TypeMethodDescriptionThis will be called when a user is about to be deleted.
-
Method Details
-
getPreDeleteUserErrors
This will be called when a user is about to be deleted. Returning a non-empty list ofWebErrorMessage
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
-