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, writeHtml
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
String getFunctionName()
boolean isList()
Copyright © 2002-2017 Atlassian. All Rights Reserved.