Class UserFormatterImpl
java.lang.Object
com.atlassian.jira.plugin.userformat.UserFormatterImpl
- All Implemented Interfaces:
UserFormatter
- Since:
- v6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatUserkey(String userkey, String id) Renders the formatted user for a given section on the screen.Renders the formatted user for a given section on the screen.formatUsername(String username, String id) Renders the formatted user for a given section on the screen.Renders the formatted user for a given section on the screen.
-
Constructor Details
-
UserFormatterImpl
-
-
Method Details
-
formatUserkey
Description copied from interface:UserFormatterRenders the formatted user for a given section on the screen.The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
- Specified by:
formatUserkeyin interfaceUserFormatter- Parameters:
userkey- the user to format.id- A value providing extra context to the rendering process.- Returns:
- the formatted user
-
formatUserkey
Description copied from interface:UserFormatterRenders the formatted user for a given section on the screen.The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
- Specified by:
formatUserkeyin interfaceUserFormatter- Parameters:
userkey- the user to format.id- A value providing extra context to the rendering process.params- Additional context to pass to the renderer- Returns:
- the formatted user
-
formatUsername
Description copied from interface:UserFormatterRenders the formatted user for a given section on the screen.The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
- Specified by:
formatUsernamein interfaceUserFormatter- Parameters:
username- the user to format.id- A value providing extra context to the rendering process.- Returns:
- the formatted user
-
formatUsername
Description copied from interface:UserFormatterRenders the formatted user for a given section on the screen.The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
- Specified by:
formatUsernamein interfaceUserFormatter- Parameters:
username- the user to format.id- A value providing extra context to the rendering process.params- Additional context to pass to the renderer- Returns:
- the formatted user
-