Annotation Interface Category


@Inherited @Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface Category
Defines the category in the expression editor in which the function annotated with this annotation should appear. The name is given as the key in a bundle included with the custom function plug-in. When placed on the class, all functions contained in the class will appear in the give category.

Example usage:
@Category("category.name.AppianScriptingFunctions")
public class XpathExpression
In this example, all functions defined in XpathExpression will appear in the category whose value is given for the key "category.name.AppianScriptingFunctions."

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The bundle key for the category name.
  • Element Details

    • value

      String value
      The bundle key for the category name.