Interface UserCFNotificationTypeAware
- All Known Implementing Classes:
InitialWatchersCFType,MultiUserCFType,UserCFType
public interface UserCFNotificationTypeAware
CustomFieldType's should implement this interface if it wants to be
selectable from the user custom field drop down list when adding new notifications. The implementing class must
make sure that the Object returned from CustomFieldType#getValueFromIssue(CustomField, Issue)
is a User or a collection of User
to function properly.- Since:
- v3.12
-
Method Summary
Modifier and TypeMethodDescriptiongetValueFromIssue(CustomField customField, Issue issue) Retrieves theUseror acollectionofUsersrepresenting the current CustomField value for the given issue.
-
Method Details
-
getValueFromIssue
Retrieves theUseror acollectionofUsersrepresenting the current CustomField value for the given issue.- Parameters:
customField- Custom field for which to retrieve user(s) fromissue- Issue from which to retrieve the user(s)- Returns:
Useror acollectionofUsers- See Also:
-