com.atlassian.jira.notification.type
Interface UserCFNotificationTypeAware

All Known Implementing Classes:
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
 Object getValueFromIssue(CustomField customField, Issue issue)
          Retrieves the User or a collection of Users representing the current CustomField value for the given issue.
 

Method Detail

getValueFromIssue

Object getValueFromIssue(CustomField customField,
                         Issue issue)
Retrieves the User or a collection of Users representing the current CustomField value for the given issue.

Parameters:
customField - Custom field for which to retrieve user(s) from
issue - Issue from which to retrieve the user(s)
Returns:
User or a collection of Users
See Also:
CustomFieldType.getValueFromIssue(com.atlassian.jira.issue.fields.CustomField, com.atlassian.jira.issue.Issue)


Copyright © 2002-2013 Atlassian. All Rights Reserved.