com.atlassian.jira.plugin.userformat
Class DefaultUserFormats
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUserFormats
public DefaultUserFormats(UserFormatTypeConfiguration userFormatTypeConfiguration,
UserFormatModuleDescriptors userFormatModuleDescriptors,
UserKeyService userKeyService)
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-2013 Atlassian. All Rights Reserved.