Class RunParams

java.lang.Object
io.jmix.reports.yarg.reporting.RunParams

public class RunParams extends Object
Describes parameters necessary for report run
  • Field Details

  • Constructor Details

    • RunParams

      public RunParams(Report report)
  • Method Details

    • templateCode

      public RunParams templateCode(String templateCode)
      Setup necessary template by string code. Throws validation exception if code is null or template not found
      Parameters:
      templateCode - - string code of template
    • template

      public RunParams template(ReportTemplate reportTemplate)
      Setup template. Throws validation exception if template is null
    • params

      public RunParams params(Map<String,Object> params)
      Adds parameters from map
    • param

      public RunParams param(String key, Object value)
      Add single parameter
    • output

      public RunParams output(ReportOutputType outputType)
      Add output type
    • outputNamePattern

      public RunParams outputNamePattern(String outputNamePattern)
      Add output name pattern