Interface ReportFieldProvider


public interface ReportFieldProvider
Provider for custom report fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    createField(ReportContext context, se.conciliate.mt.rest.JsonData settings)
    Creates a report field for use in report generator.
    Returns a unique id for the field type.
    boolean
    Returns true if this field provider is compatible with the current report context.
  • Method Details

    • getId

      String getId()
      Returns a unique id for the field type. This should be the same id that is returned by the created fields themselves.
      Returns:
      A unique field id.
    • isCompatible

      boolean isCompatible(ReportContext context)
      Returns true if this field provider is compatible with the current report context.
      Parameters:
      context - The report context.
      Returns:
      true if compatible, false otherwise.
    • createField

      ReportField createField(ReportContext context, se.conciliate.mt.rest.JsonData settings)
      Creates a report field for use in report generator.
      Parameters:
      context - The current report context.
      settings - Field settings
      Returns:
      A new field based on the provided settings.