public interface JqlFunctionModuleDescriptor extends JiraResourcedModuleDescriptor<JqlFunction>
JqlFunction.
The following is an example XML descriptor for a JQL function:
<jql-function key="now-jql-function"
i18n-name-key="jql.function.plugin.now.name"
name="Now Function"
class="com.atlassian.jira.plugin.jql.function.NowFunction"
>
<description key="jql.function.plugin.now.desc">Returns the current system time.</description>
<fname>now</fname>
<list>false</list>
</jql-function>
The fname element specifies the name of the function. The list element specifies whether this function returns a list of values or a single value. If omitted, the default is false.
| Modifier and Type | Method and Description |
|---|---|
String |
getFunctionName() |
boolean |
isList() |
getHtml, getHtml, getI18nBean, writeHtmldestroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenString getFunctionName()
boolean isList()
Copyright © 2002-2019 Atlassian. All Rights Reserved.