|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.profile.DefaultUserFormatMapper
public class DefaultUserFormatMapper
Field Summary | |
---|---|
static String |
PS_KEY
|
Constructor Summary | |
---|---|
DefaultUserFormatMapper(com.atlassian.plugin.PluginAccessor pluginAccessor,
JiraPropertySetFactory jiraPropertySetFactory)
|
Method Summary | |
---|---|
Set |
getTypes()
Returns a Set of all the user format types this manager is aware of |
com.atlassian.plugin.ModuleDescriptor |
getUserFormatModuleDescriptorForType(String type)
Retrieves the user format module descriptor currently set for a given type. |
Collection |
getUserFormatModuleDescriptorsForType(String type)
Retrieves all enabled user format module descriptors that can handle the provided type. |
void |
setUserFormatForType(String type,
String moduleKey)
Updates the mapping from a specific type to another plugin module. |
void |
start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PS_KEY
Constructor Detail |
---|
public DefaultUserFormatMapper(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraPropertySetFactory jiraPropertySetFactory)
Method Detail |
---|
public Set getTypes()
UserFormatMapper
getTypes
in interface UserFormatMapper
public void setUserFormatForType(String type, String moduleKey)
UserFormatMapper
setUserFormatForType
in interface UserFormatMapper
type
- the user format type to updatemoduleKey
- The module Key of the updated plugin module.public Collection getUserFormatModuleDescriptorsForType(String type)
UserFormatMapper
getUserFormatModuleDescriptorsForType
in interface UserFormatMapper
type
- the specific type for which to find a User Format module descriptors
UserFormatModuleDescriptor
s or empty collection if none can be found.public com.atlassian.plugin.ModuleDescriptor getUserFormatModuleDescriptorForType(String type)
UserFormatMapper
getUserFormatModuleDescriptorForType
in interface UserFormatMapper
type
- the specific type for which to find a UserFormatModuleDescriptor
public void start() throws Exception
Startable
start
in interface Startable
Exception
- Allows implementations to throw an Exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |