Class WikibaseIssuesFunction

  • All Implemented Interfaces:
    Serializable, Function

    public class WikibaseIssuesFunction
    extends Object
    implements Function
    GREL function which computes the "aggregation identifiers" of the issues found on the edits generated by a given row. Those "aggregation identifiers" are used to group issues together (increasing their number of occurrences and reporting them only once to the user). This GREL function is primarily meant to be used in facets, to select rows which generate a particular issue, with expressions of the form: grel:wikibaseIssues().inArray('duplicate-whitespace')
    Author:
    Antonin Delpeuch
    See Also:
    Serialized Form
    • Constructor Detail

      • WikibaseIssuesFunction

        public WikibaseIssuesFunction()
    • Method Detail

      • call

        public Object call​(Properties bindings,
                           Object[] args)
        Description copied from interface: Function
        Computes the value of the function on the given arguments
        Specified by:
        call in interface Function
        Parameters:
        bindings - the evaluation context
        args - the values of the arguments
        Returns:
        the return value of the function
      • getManifest

        protected Manifest getManifest​(String mediaWikiApiEndpoint)