Uses of Interface
com.atlassian.plugin.Plugin
Packages that use Plugin
Package
Description
This package contains events that will be fired by the framework.
-
Uses of Plugin in com.atlassian.plugin
Classes in com.atlassian.plugin that implement PluginModifier and TypeClassDescriptionclassDummy plugin implementation that returns java default values and does nothing.Methods in com.atlassian.plugin that return PluginModifier and TypeMethodDescriptionstatic PluginPermissions.addPermission(Plugin plugin, String permission, InstallationMode mode) PluginAccessor.getEnabledPlugin(String pluginKey) Retrieve a given plugin if it is enabled.ModuleDescriptor.getPlugin()Retrieve a given plugin (whether enabled or not).Methods in com.atlassian.plugin that return types with arguments of type PluginModifier and TypeMethodDescriptionPluginRegistry.ReadOnly.getAll()PluginAccessor.getEnabledPlugins()Get all of the currently enabled plugins.PluginAccessor.getPlugins()Gets all of the currently installed plugins.default Collection<Plugin>PluginAccessor.getPlugins(PluginPredicate pluginPredicate) Deprecated.PluginAccessor.getPlugins(Predicate<Plugin> pluginPredicate) Gets all installed plugins that match the given predicate.Methods in com.atlassian.plugin with parameters of type PluginModifier and TypeMethodDescriptionPluginController.addDynamicModule(Plugin plugin, Element module) Add a new module described byelementto the plugin specified.static PluginPermissions.addPermission(Plugin plugin, String permission, InstallationMode mode) intPluginAccessor.getDynamicModules(Plugin plugin) Retrieve all currently registered dynamic modules i.e.StoredPluginState.getPluginEnabledStateMap(Plugin plugin) Get state map of the given plugin and its modules.voidInitialise a module given its parent plugin and the XML element representing the module.booleanWhether or not a plugin is enabled, calculated from its persisted state AND default state.voidvoidPluginController.removeDynamicModule(Plugin plugin, ModuleDescriptor<?> module) Remove a module that was dynamically added to plugin.voidUninstall the plugin, disabling it first.Method parameters in com.atlassian.plugin with type arguments of type PluginModifier and TypeMethodDescriptionPluginAccessor.getPlugins(Predicate<Plugin> pluginPredicate) Gets all installed plugins that match the given predicate.default voidPluginController.uninstallPlugins(Collection<Plugin> plugins) Uninstall multiple plugin, disabling it first. -
Uses of Plugin in com.atlassian.plugin.event.events
Methods in com.atlassian.plugin.event.events that return PluginMethods in com.atlassian.plugin.event.events that return types with arguments of type PluginModifier and TypeMethodDescriptionPluginDependentsChangedEvent.getCycled()Plugins which had their state changed from enabled to disabled to enabledPluginDependentsChangedEvent.getDisabled()Plugins which had their state changed from enabled to disabledConstructors in com.atlassian.plugin.event.events with parameters of type PluginModifierConstructorDescriptionPluginDependentsChangedEvent(Plugin plugin, PluginState state, List<Plugin> disabled, List<Plugin> cycled) PluginDisabledEvent(Plugin plugin) PluginDisablingEvent(Plugin plugin) PluginEnabledEvent(Plugin plugin) PluginEnablingEvent(Plugin plugin) PluginEvent(Plugin plugin) PluginInstalledEvent(Plugin plugin) PluginInstallingEvent(Plugin plugin) PluginRefreshedEvent(Plugin plugin) PluginUninstalledEvent(Plugin plugin) PluginUninstallingEvent(Plugin plugin) PluginUpgradedEvent(Plugin plugin) PluginUpgradingEvent(Plugin plugin) Constructor parameters in com.atlassian.plugin.event.events with type arguments of type PluginModifierConstructorDescriptionPluginDependentsChangedEvent(Plugin plugin, PluginState state, List<Plugin> disabled, List<Plugin> cycled) -
Uses of Plugin in com.atlassian.plugin.factories
Methods in com.atlassian.plugin.factories that return PluginModifier and TypeMethodDescriptionPluginFactory.create(PluginArtifact pluginArtifact, ModuleDescriptorFactory moduleDescriptorFactory) Deploys the plugin artifact by instantiating the plugin and configuring it.Methods in com.atlassian.plugin.factories with parameters of type PluginModifier and TypeMethodDescriptionPluginFactory.createModule(Plugin plugin, Element module, ModuleDescriptorFactory moduleDescriptorFactory) If this factory is capable of loading a plugin of the type passed, attempt to create a module descriptor. -
Uses of Plugin in com.atlassian.plugin.metadata
Methods in com.atlassian.plugin.metadata with parameters of type PluginModifier and TypeMethodDescriptionbooleanPluginMetadataManager.isOptional(Plugin plugin) This is used to determine if a plugin is considered optional.booleanPluginMetadataManager.isSystemProvided(Plugin plugin) This is used to determine if the plugin was provided by the host application.booleanPluginMetadataManager.isUserInstalled(Plugin plugin) Determines if the plugin was installed by a user. -
Uses of Plugin in com.atlassian.plugin.module
Subinterfaces of Plugin in com.atlassian.plugin.moduleModifier and TypeInterfaceDescriptioninterfaceA plugin that is managed by a container -
Uses of Plugin in com.atlassian.plugin.predicate
Methods in com.atlassian.plugin.predicate with parameters of type Plugin
PluginAccessor.getPlugins(Predicate)instead