|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserFormatMapper
Allows modifying the user format type mapping, and provides methods for querying all available types, and module descriptors.
Method Summary | |
---|---|
java.util.Set |
getTypes()
Returns a Set of all the user format types this manager is aware of |
com.atlassian.plugin.ModuleDescriptor |
getUserFormatModuleDescriptorForType(java.lang.String type)
Retrieves the user format module descriptor currently set for a given type. |
java.util.Collection |
getUserFormatModuleDescriptorsForType(java.lang.String type)
Retrieves all enabled user format module descriptors that can handle the provided type. |
void |
setUserFormatForType(java.lang.String type,
java.lang.String moduleKey)
Updates the mapping from a specific type to another plugin module. |
Method Detail |
---|
java.util.Set getTypes()
void setUserFormatForType(java.lang.String type, java.lang.String moduleKey)
type
- the user format type to updatemoduleKey
- The module Key of the updated plugin module.
java.lang.IllegalArgumentException
- if the module key leads to a disabled or nonexistant modulejava.util.Collection getUserFormatModuleDescriptorsForType(java.lang.String type)
type
- the specific type for which to find a User Format module descriptors
UserFormatModuleDescriptor
s or empty collection if none can be found.com.atlassian.plugin.ModuleDescriptor getUserFormatModuleDescriptorForType(java.lang.String type)
type
- the specific type for which to find a UserFormatModuleDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |