public class

DefaultUserFormats

extends Object
implements UserFormats
java.lang.Object
   ↳ com.atlassian.jira.plugin.userformat.DefaultUserFormats

Class Overview

Builds instances of UserFormat for an specified user format type.

Summary

Public Constructors
DefaultUserFormats(UserFormatTypeConfiguration userFormatTypeConfiguration, UserFormatModuleDescriptors userFormatModuleDescriptors, UserKeyService userKeyService)
Public Methods
UserFormat forType(String type)
Builds a user format for the specified type.
UserFormatter formatter(String type)
Builds a user formatter for the specified type.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.userformat.UserFormats

Public Constructors

public DefaultUserFormats (UserFormatTypeConfiguration userFormatTypeConfiguration, UserFormatModuleDescriptors userFormatModuleDescriptors, UserKeyService userKeyService)

Public Methods

public UserFormat forType (String type)

Builds a user format for the specified type.

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.

public UserFormatter formatter (String type)

Builds a user formatter for the specified type.

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.