Package org.mapfish.print.output
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
ConstructorsConstructorDescriptionPrint
(net.sf.jasperreports.engine.JasperReportsContext context, net.sf.jasperreports.engine.JasperPrint print, Values values, double dpi, Processor.ExecutionContext executionContext) Creates an instance of aPrint
record class. -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.jasperreports.engine.JasperReportsContext
context()
Returns the value of thecontext
record component.double
dpi()
Returns the value of thedpi
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexecutionContext
record component.final int
hashCode()
Returns a hash code value for this object.net.sf.jasperreports.engine.JasperPrint
print()
Returns the value of theprint
record component.final String
toString()
Returns a string representation of this record class.values()
Returns the value of thevalues
record component.
-
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 aPrint
record class.- Parameters:
context
- the value for thecontext
record componentprint
- the value for theprint
record componentvalues
- the value for thevalues
record componentdpi
- the value for thedpi
record componentexecutionContext
- the value for theexecutionContext
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
context
@Nonnull public net.sf.jasperreports.engine.JasperReportsContext context()Returns the value of thecontext
record component.- Returns:
- the value of the
context
record component
-
print
@Nonnull public net.sf.jasperreports.engine.JasperPrint print()Returns the value of theprint
record component.- Returns:
- the value of the
print
record component
-
values
Returns the value of thevalues
record component.- Returns:
- the value of the
values
record component
-
dpi
@Nonnegative public double dpi()Returns the value of thedpi
record component.- Returns:
- the value of the
dpi
record component
-
executionContext
Returns the value of theexecutionContext
record component.- Returns:
- the value of the
executionContext
record component
-