Class ModuleCompleteKey
- java.lang.Object
 - 
- com.atlassian.confluence.api.model.plugin.ModuleCompleteKey
 
 
- 
@ExperimentalApi public final class ModuleCompleteKey extends Object
Represents the fully qualified key of a plugin module.The complete key is the combination of the plugin key and the "simple" module key. For example if the plugin key is "com.acme.myplugin" and the module key is "my-foo-module", then the complete key is "com.acme.myplugin:my-foo-module".
 
- 
- 
Constructor Summary
Constructors Constructor Description ModuleCompleteKey(String completeKey)Constructs a ModuleCompleteKey given the String representation of the complete key.ModuleCompleteKey(String pluginKey, String moduleKey)Constructs a ModuleCompleteKey given the separate plugin key and module key. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCompleteKey()Returns the String representation of the complete key.StringgetModuleKey()Returns the "simple" module key.StringgetPluginKey()Returns the plugin key.inthashCode()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
SEPARATOR
public static final String SEPARATOR
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
ModuleCompleteKey
public ModuleCompleteKey(String completeKey)
Constructs a ModuleCompleteKey given the String representation of the complete key. The String representation includes the plugin key, followed by a ':', followed by the simple module key.- Parameters:
 completeKey- the String representation of the complete key
 
 - 
 
- 
Method Detail
- 
getModuleKey
public String getModuleKey()
Returns the "simple" module key. This is the second half of the "complete" key.- Returns:
 - the simple module key.
 
 
- 
getPluginKey
public String getPluginKey()
Returns the plugin key. This is the first half of the "complete" key.- Returns:
 - the plugin key.
 
 
- 
getCompleteKey
public String getCompleteKey()
Returns the String representation of the complete key. This includes the plugin key, followed by a ':', followed by the simple module key.- Returns:
 - the String representation of the complete key.
 
 
 - 
 
 -