Record Class AbstractJasperReportOutputFormat.Print

java.lang.Object
java.lang.Record
org.mapfish.print.output.AbstractJasperReportOutputFormat.Print
Record Components:
context - The JasperReports context for the print job.
print - The print information for Jasper.
values - The values used to do the print.
dpi - The print DPI.
executionContext - The execution context for the print job.
Enclosing class:
AbstractJasperReportOutputFormat

public static record AbstractJasperReportOutputFormat.Print(@Nonnull net.sf.jasperreports.engine.JasperReportsContext context, @Nonnull net.sf.jasperreports.engine.JasperPrint print, @Nonnull Values values, @Nonnegative double dpi, @Nonnull Processor.ExecutionContext executionContext) extends Record
The print information for doing the export.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Print(net.sf.jasperreports.engine.JasperReportsContext context, net.sf.jasperreports.engine.JasperPrint print, Values values, double dpi, Processor.ExecutionContext executionContext)
    Creates an instance of a Print record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.sf.jasperreports.engine.JasperReportsContext
    Returns the value of the context record component.
    double
    dpi()
    Returns the value of the dpi record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the executionContext record component.
    final int
    Returns a hash code value for this object.
    net.sf.jasperreports.engine.JasperPrint
    Returns the value of the print record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the values record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Print

      public Print(@Nonnull net.sf.jasperreports.engine.JasperReportsContext context, @Nonnull net.sf.jasperreports.engine.JasperPrint print, @Nonnull Values values, @Nonnegative double dpi, @Nonnull Processor.ExecutionContext executionContext)
      Creates an instance of a Print record class.
      Parameters:
      context - the value for the context record component
      print - the value for the print record component
      values - the value for the values record component
      dpi - the value for the dpi record component
      executionContext - the value for the executionContext record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • context

      @Nonnull public net.sf.jasperreports.engine.JasperReportsContext context()
      Returns the value of the context record component.
      Returns:
      the value of the context record component
    • print

      @Nonnull public net.sf.jasperreports.engine.JasperPrint print()
      Returns the value of the print record component.
      Returns:
      the value of the print record component
    • values

      @Nonnull public Values values()
      Returns the value of the values record component.
      Returns:
      the value of the values record component
    • dpi

      @Nonnegative public double dpi()
      Returns the value of the dpi record component.
      Returns:
      the value of the dpi record component
    • executionContext

      @Nonnull public Processor.ExecutionContext executionContext()
      Returns the value of the executionContext record component.
      Returns:
      the value of the executionContext record component