com.atlassian.jira.plugin.userformat
Class DefaultUserFormats

java.lang.Object
  extended by com.atlassian.jira.plugin.userformat.DefaultUserFormats
All Implemented Interfaces:
UserFormats

public class DefaultUserFormats
extends Object
implements UserFormats

Builds instances of UserFormat for an specified user format type.

Since:
v4.4
See Also:
UserFormatModuleDescriptor

Constructor Summary
DefaultUserFormats(UserFormatTypeConfiguration userFormatTypeConfiguration, UserFormatModuleDescriptors userFormatModuleDescriptors, UserKeyService userKeyService)
           
 
Method Summary
 UserFormatter formatter(String type)
          Builds a user formatter for the specified type.
 UserFormat forType(String type)
          Builds a user format for the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserFormats

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

forType

public UserFormat forType(String type)
Description copied from interface: UserFormats
Builds a user format for the specified type.

Specified by:
forType in interface UserFormats
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

public UserFormatter formatter(String type)
Description copied from interface: UserFormats
Builds a user formatter for the specified type.

Specified by:
formatter in interface UserFormats
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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.