Interface JqlFunctionModuleDescriptor

All Superinterfaces:
JiraResourcedModuleDescriptor<JqlFunction>, com.atlassian.plugin.ModuleDescriptor<JqlFunction>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware
All Known Implementing Classes:
JqlFunctionModuleDescriptorImpl

public interface JqlFunctionModuleDescriptor extends JiraResourcedModuleDescriptor<JqlFunction>
A module descriptor for a JQL function handler that produces a 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.

Since:
v4.0
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     

    Methods inherited from interface com.atlassian.jira.plugin.JiraResourcedModuleDescriptor

    getHtml, getHtml, getI18nBean, writeHtml

    Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

    destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken

    Methods inherited from interface com.atlassian.plugin.Resourced

    getResourceDescriptor, getResourceDescriptors, getResourceLocation

    Methods inherited from interface com.atlassian.plugin.ScopeAware

    getScopeKey
  • Method Details

    • getFunctionName

      String getFunctionName()
    • isList

      boolean isList()