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:
  • Constructor Details

  • Method Details

    • 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.