|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.operand.DefaultJqlFunctionHandlerRegistry
@InjectableComponent public class DefaultJqlFunctionHandlerRegistry
Constructor Summary | |
---|---|
DefaultJqlFunctionHandlerRegistry(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.plugin.PluginAccessor pluginAccessor)
|
Method Summary | |
---|---|
List<String> |
getAllFunctionNames()
Fetches all function names ordered alphabetically. |
FunctionOperandHandler |
getOperandHandler(FunctionOperand operand)
Fetches the associated OperandHandler for the provided FunctionOperand. |
void |
onClearCache(ClearCacheEvent event)
|
void |
registerFunctionHandler(JqlFunction jqlFunction)
Registers a JqlFunction plugin once it has been
enabled by the system. |
void |
start()
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework. |
void |
unregisterFunctionHandler(JqlFunction jqlFunction)
Unregisters a JqlFunction plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultJqlFunctionHandlerRegistry(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail |
---|
public void start() throws Exception
Startable
start
in interface Startable
Exception
- Allows implementations to throw an Exception.@EventListener public void onClearCache(ClearCacheEvent event)
public void registerFunctionHandler(JqlFunction jqlFunction)
JqlFunctionHandlerRegistry
JqlFunction
plugin once it has been
enabled by the system.
registerFunctionHandler
in interface JqlFunctionHandlerRegistry
jqlFunction
- the actual function to register.public void unregisterFunctionHandler(JqlFunction jqlFunction)
JqlFunctionHandlerRegistry
JqlFunction
plugin.
unregisterFunctionHandler
in interface JqlFunctionHandlerRegistry
jqlFunction
- the actual function to unregister.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |