Class DefaultUserFormatModuleDescriptors
java.lang.Object
com.atlassian.jira.plugin.userformat.descriptors.DefaultUserFormatModuleDescriptors
- All Implemented Interfaces:
UserFormatModuleDescriptors
public class DefaultUserFormatModuleDescriptors
extends Object
implements UserFormatModuleDescriptors
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserFormatModuleDescriptors(com.atlassian.plugin.PluginAccessor pluginAccessor, ModuleDescriptors.Orderings moduleDescriptorOrderings) -
Method Summary
Modifier and TypeMethodDescriptiondefaultFor(String type) Gets the defaultuser format module descriptorsfor the specified type.Gets a snapshot of the configureduser format module descriptorsfor a specific type from the plugins system.get()Gets a snapshot of all the configureduser format module descriptorsfrom the plugins system.Gets theuser format module descriptorfor the specified key.
-
Constructor Details
-
DefaultUserFormatModuleDescriptors
public DefaultUserFormatModuleDescriptors(com.atlassian.plugin.PluginAccessor pluginAccessor, ModuleDescriptors.Orderings moduleDescriptorOrderings)
-
-
Method Details
-
forType
Description copied from interface:UserFormatModuleDescriptorsGets a snapshot of the configureduser format module descriptorsfor a specific type from the plugins system.- Specified by:
forTypein interfaceUserFormatModuleDescriptors- Parameters:
type- The type of the user format module descriptors to find.- Returns:
- An Iterable of user format module descriptors for the specified type.
-
withKey
Description copied from interface:UserFormatModuleDescriptorsGets theuser format module descriptorfor the specified key.- Specified by:
withKeyin interfaceUserFormatModuleDescriptors- Parameters:
completeKey- The complete key for the module descriptor to find.- Returns:
- A
user format module descriptorfor the specified key or null if no module descriptor could be found for that key.
-
get
Description copied from interface:UserFormatModuleDescriptorsGets a snapshot of all the configureduser format module descriptorsfrom the plugins system.- Specified by:
getin interfaceUserFormatModuleDescriptors- Returns:
- An Iterable of all user format module descriptors.
-
defaultFor
Description copied from interface:UserFormatModuleDescriptorsGets the defaultuser format module descriptorsfor the specified type.- Specified by:
defaultForin interfaceUserFormatModuleDescriptors- Parameters:
type- The type to find a default user format descriptor for.- Returns:
- A default user format module descriptor for the specified type or
nullif no default was found.
-