Class DefaultUserFormats
java.lang.Object
com.atlassian.jira.plugin.userformat.DefaultUserFormats
- All Implemented Interfaces:
UserFormats
Builds instances of
UserFormat
for an specified user format type.- Since:
- v4.4
- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultUserFormats
(UserFormatTypeConfiguration userFormatTypeConfiguration, UserFormatModuleDescriptors userFormatModuleDescriptors, UserKeyService userKeyService) -
Method Summary
Modifier and TypeMethodDescriptionBuilds a user formatter for the specified type.Builds a user format for the specified type.
-
Constructor Details
-
DefaultUserFormats
public DefaultUserFormats(UserFormatTypeConfiguration userFormatTypeConfiguration, UserFormatModuleDescriptors userFormatModuleDescriptors, UserKeyService userKeyService)
-
-
Method Details
-
forType
Description copied from interface:UserFormats
Builds a user format for the specified type.- Specified by:
forType
in interfaceUserFormats
- Parameters:
type
- the type of user format to build.- Returns:
- A user format for the specified type or null if no user format could be found for the specfied type.
-
formatter
Description copied from interface:UserFormats
Builds a user formatter for the specified type.- Specified by:
formatter
in interfaceUserFormats
- Parameters:
type
- the type of user formatter to build.- Returns:
- A user formatter for the specified type or null if no user formatter could be found for the specfied type.
-