|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.plugin.userformat.descriptors.DefaultUserFormatModuleDescriptors
public class DefaultUserFormatModuleDescriptors
Constructor Summary | |
---|---|
DefaultUserFormatModuleDescriptors(com.atlassian.plugin.PluginAccessor pluginAccessor,
ModuleDescriptors.Orderings moduleDescriptorOrderings)
|
Method Summary | |
---|---|
UserFormatModuleDescriptor |
defaultFor(String type)
Gets the default user format module descriptors for the specified type. |
Iterable<UserFormatModuleDescriptor> |
forType(String type)
Gets a snapshot of the configured user format module descriptors for a
specific type from the plugins system. |
Iterable<UserFormatModuleDescriptor> |
get()
Gets a snapshot of all the configured user format module descriptors from the
plugins system. |
UserFormatModuleDescriptor |
withKey(String completeKey)
Gets the user format module descriptor for the specified key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUserFormatModuleDescriptors(com.atlassian.plugin.PluginAccessor pluginAccessor, ModuleDescriptors.Orderings moduleDescriptorOrderings)
Method Detail |
---|
public Iterable<UserFormatModuleDescriptor> forType(String type)
UserFormatModuleDescriptors
user format module descriptors
for a
specific type from the plugins system.
forType
in interface UserFormatModuleDescriptors
type
- The type of the user format module descriptors to find.
public UserFormatModuleDescriptor withKey(String completeKey)
UserFormatModuleDescriptors
user format module descriptor
for the specified key.
withKey
in interface UserFormatModuleDescriptors
completeKey
- The complete key for the module descriptor to find.
user format module descriptor
for the specified key or null
if no module descriptor could be found for that key.public Iterable<UserFormatModuleDescriptor> get()
UserFormatModuleDescriptors
user format module descriptors
from the
plugins system.
get
in interface UserFormatModuleDescriptors
public UserFormatModuleDescriptor defaultFor(String type)
UserFormatModuleDescriptors
user format module descriptors
for the specified type.
defaultFor
in interface UserFormatModuleDescriptors
type
- The type to find a default user format descriptor for.
null
if no default was found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |