Package org.mapfish.print.servlet.job
Class HibernateAccountingEntry
java.lang.Object
org.mapfish.print.servlet.job.HibernateAccountingEntry
Entity for the print_accountings table.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor (used only by Hibernate).HibernateAccountingEntry
(PrintJobEntry entry, PrintJobStatus.Status status, Configuration configuration) Constructor that initialize the fields that depends on the job description. -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()
boolean
com.fasterxml.jackson.databind.node.ObjectNode
getStats()
long
void
setFileSize
(Long fileSize) void
setProcessingTimeMS
(Long processingTimeMS) void
setStats
(ExecutionStats stats)
-
Constructor Details
-
HibernateAccountingEntry
public HibernateAccountingEntry()Default constructor (used only by Hibernate). -
HibernateAccountingEntry
public HibernateAccountingEntry(PrintJobEntry entry, PrintJobStatus.Status status, Configuration configuration) Constructor that initialize the fields that depends on the job description.- Parameters:
entry
- The job descriptionstatus
- The statusconfiguration
- The configuration
-
-
Method Details
-
getReferenceId
-
getAppId
-
getReferer
-
getStatus
-
getProcessingTimeMS
-
setProcessingTimeMS
-
getTotalTimeMS
public long getTotalTimeMS() -
getCompletionTime
-
getOutputFormat
-
getLayout
-
getFileSize
-
setFileSize
-
getStats
public com.fasterxml.jackson.databind.node.ObjectNode getStats() -
setStats
-
getMapExport
public boolean getMapExport()
-