Package com.atlassian.jira.plugin.util
Class SimplePluginsTracker
java.lang.Object
com.atlassian.jira.plugin.util.SimplePluginsTracker
- All Implemented Interfaces:
PluginsTracker
- Since:
- v6.2.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.plugin.util.PluginsTracker
PluginsTracker.PluginInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a hash that represents all the plugins in this tracker.booleanisPluginInvolved(com.atlassian.plugin.ModuleDescriptor moduleDescriptor) Returns true if the plugin that this ModuleDescriptor belongs to is being trackedbooleanisPluginInvolved(com.atlassian.plugin.Plugin plugin) Returns true if the plugin is being trackedtoString()
-
Constructor Details
-
SimplePluginsTracker
-
-
Method Details
-
isPluginInvolved
public boolean isPluginInvolved(com.atlassian.plugin.Plugin plugin) Description copied from interface:PluginsTrackerReturns true if the plugin is being tracked- Specified by:
isPluginInvolvedin interfacePluginsTracker- Parameters:
plugin- the plugin in play- Returns:
- true if the underlying plugin is being tracked
-
isPluginInvolved
public boolean isPluginInvolved(com.atlassian.plugin.ModuleDescriptor moduleDescriptor) Description copied from interface:PluginsTrackerReturns true if the plugin that this ModuleDescriptor belongs to is being tracked- Specified by:
isPluginInvolvedin interfacePluginsTracker- Parameters:
moduleDescriptor- the ModuleDescriptor of the plugin in play- Returns:
- true if the underlying plugin is being tracked
-
getStateHashCode
Description copied from interface:PluginsTrackerReturn a hash that represents all the plugins in this tracker. This hash should change if the list of plugins being tracked changes.It is used to help generate a cache busting WebResource URL prefix. That is, if this hash changes then it is likely that the URLs to all of JIRA's WebResources will change which will force all browsers to request all resources again.
- Specified by:
getStateHashCodein interfacePluginsTracker- Returns:
- Return a hash that represents all the plugins in this tracker.
-
toString
-