Class ReferencePreDeleteUserErrors
java.lang.Object
com.atlassian.jira.dev.reference.plugin.user.ReferencePreDeleteUserErrors
- All Implemented Interfaces:
PreDeleteUserErrors
Provides basic example of the pre-delete-user-errors plugin point
- Since:
- 6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis will be called when a user is about to be deleted.
-
Constructor Details
-
ReferencePreDeleteUserErrors
public ReferencePreDeleteUserErrors()
-
-
Method Details
-
getPreDeleteUserErrors
Description copied from interface:PreDeleteUserErrors
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.- Specified by:
getPreDeleteUserErrors
in interfacePreDeleteUserErrors
- Parameters:
user
- that is being considered for deletion- Returns:
- a list of
WebErrorMessage
about to the provided user
-