|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.operand.registry.PluginsAwareJqlFunctionHandlerRegistry
public class PluginsAwareJqlFunctionHandlerRegistry
Represents a JqlFunctionHandlerRegistry that can detect when the plugins system enables / disables new jql function
modules and updates the registry of function operand handlers accordingly.
The current implementation is backed by a LazyResettableJqlFunctionHandlerRegistry
.
Constructor Summary | |
---|---|
PluginsAwareJqlFunctionHandlerRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.event.api.EventPublisher eventPublisher,
ModuleDescriptors.Orderings moduleDescriptorOrderings)
|
Method Summary | |
---|---|
List<String> |
getAllFunctionNames()
Fetches all function names ordered alphabetically. |
FunctionOperandHandler |
getOperandHandler(FunctionOperand operand)
Fetches the associated OperandHandler for the provided FunctionOperand. |
void |
onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
|
void |
onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
|
void |
start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginsAwareJqlFunctionHandlerRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventPublisher eventPublisher, ModuleDescriptors.Orderings moduleDescriptorOrderings)
Method Detail |
---|
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
public FunctionOperandHandler getOperandHandler(FunctionOperand operand)
JqlFunctionHandlerRegistry
getOperandHandler
in interface JqlFunctionHandlerRegistry
operand
- that defines the name for which we want to find the operand handler.
public List<String> getAllFunctionNames()
JqlFunctionHandlerRegistry
getAllFunctionNames
in interface JqlFunctionHandlerRegistry
public void start() throws Exception
Startable
start
in interface Startable
Exception
- Allows implementations to throw an Exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |