com.atlassian.jira.notification.type
Class UserToRecipient

java.lang.Object
  extended by com.atlassian.jira.notification.type.UserToRecipient
All Implemented Interfaces:
com.google.common.base.Function<com.atlassian.crowd.embedded.api.User,NotificationRecipient>

public class UserToRecipient
extends Object
implements com.google.common.base.Function<com.atlassian.crowd.embedded.api.User,NotificationRecipient>

Converts User to NotificationRecipient.

Since:
v4.4

Field Summary
static UserToRecipient INSTANCE
           
 
Constructor Summary
UserToRecipient()
           
 
Method Summary
 NotificationRecipient apply(com.atlassian.crowd.embedded.api.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

INSTANCE

public static final UserToRecipient INSTANCE
Constructor Detail

UserToRecipient

public UserToRecipient()
Method Detail

apply

public NotificationRecipient apply(@Nullable
                                   com.atlassian.crowd.embedded.api.User user)
Specified by:
apply in interface com.google.common.base.Function<com.atlassian.crowd.embedded.api.User,NotificationRecipient>


Copyright © 2002-2011 Atlassian. All Rights Reserved.