public class CachingUserFormat extends Object implements UserFormat
VIEW_TEMPLATE
Constructor and Description |
---|
CachingUserFormat(UserFormat delegate) |
Modifier and Type | Method and Description |
---|---|
String |
format(String userkey,
String id)
Renders the formatted user for a given section on the screen.
|
String |
format(String userkey,
String id,
Map<String,Object> params)
Renders the formatted user for a given section on the screen.
|
public CachingUserFormat(UserFormat delegate)
public String format(String userkey, String id)
UserFormat
format
in interface UserFormat
userkey
- the user's userkey to format.id
- A value providing extra context to the rendering process.public String format(String userkey, String id, Map<String,Object> params)
UserFormat
format
in interface UserFormat
userkey
- the user's userkey to format.id
- A value providing extra context to the rendering process.params
- Additional context to pass to the rendererCopyright © 2002-2015 Atlassian. All Rights Reserved.