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 aPrintrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.jasperreports.engine.JasperReportsContextcontext()Returns the value of thecontextrecord component.doubledpi()Returns the value of thedpirecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionContextrecord component.final inthashCode()Returns a hash code value for this object.net.sf.jasperreports.engine.JasperPrintprint()Returns the value of theprintrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord 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 aPrintrecord class.- Parameters:
context- the value for thecontextrecord componentprint- the value for theprintrecord componentvalues- the value for thevaluesrecord componentdpi- the value for thedpirecord componentexecutionContext- the value for theexecutionContextrecord 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 thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
print
@Nonnull public net.sf.jasperreports.engine.JasperPrint print()Returns the value of theprintrecord component.- Returns:
- the value of the
printrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
dpi
@Nonnegative public double dpi()Returns the value of thedpirecord component.- Returns:
- the value of the
dpirecord component
-
executionContext
Returns the value of theexecutionContextrecord component.- Returns:
- the value of the
executionContextrecord component
-