Package org.mapfish.print.servlet.job
Class HibernateAccountingEntry
- java.lang.Object
-
- org.mapfish.print.servlet.job.HibernateAccountingEntry
-
@Entity public class HibernateAccountingEntry extends java.lang.Object
Entity for the print_accountings table.
-
-
Constructor Summary
Constructors Constructor Description HibernateAccountingEntry()
Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAppId()
java.util.Date
getCompletionTime()
java.lang.Long
getFileSize()
java.lang.String
getLayout()
boolean
getMapExport()
java.lang.String
getOutputFormat()
java.lang.Long
getProcessingTimeMS()
java.lang.String
getReferenceId()
java.lang.String
getReferer()
com.fasterxml.jackson.databind.node.ObjectNode
getStats()
PrintJobStatus.Status
getStatus()
long
getTotalTimeMS()
void
setFileSize(java.lang.Long fileSize)
void
setProcessingTimeMS(java.lang.Long processingTimeMS)
void
setStats(ExecutionStats stats)
-
-
-
Constructor Detail
-
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 Detail
-
getReferenceId
public java.lang.String getReferenceId()
-
getAppId
public java.lang.String getAppId()
-
getReferer
public java.lang.String getReferer()
-
getStatus
public PrintJobStatus.Status getStatus()
-
getProcessingTimeMS
public java.lang.Long getProcessingTimeMS()
-
setProcessingTimeMS
public void setProcessingTimeMS(java.lang.Long processingTimeMS)
-
getTotalTimeMS
public long getTotalTimeMS()
-
getCompletionTime
public java.util.Date getCompletionTime()
-
getOutputFormat
public java.lang.String getOutputFormat()
-
getLayout
public java.lang.String getLayout()
-
getFileSize
public java.lang.Long getFileSize()
-
setFileSize
public void setFileSize(java.lang.Long fileSize)
-
getStats
public com.fasterxml.jackson.databind.node.ObjectNode getStats()
-
setStats
public void setStats(ExecutionStats stats)
-
getMapExport
public boolean getMapExport()
-
-