Class ModuleCompleteKey
java.lang.Object
com.atlassian.confluence.api.model.plugin.ModuleCompleteKey
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".
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModuleCompleteKey
(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
-
Field Details
-
SEPARATOR
- See Also:
-
-
Constructor Details
-
ModuleCompleteKey
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
-
ModuleCompleteKey
Constructs a ModuleCompleteKey given the separate plugin key and module key.- Parameters:
pluginKey
- the plugin keymoduleKey
- the module key
-
-
Method Details
-
getModuleKey
Returns the "simple" module key. This is the second half of the "complete" key.- Returns:
- the simple module key.
-
getPluginKey
Returns the plugin key. This is the first half of the "complete" key.- Returns:
- the plugin key.
-
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.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-