Package org.mapfish.print.servlet.job
Interface PrintJobStatus
- All Known Implementing Classes:
PrintJobStatusExtImpl
,PrintJobStatusImpl
public interface PrintJobStatus
Print Job Status.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the access information.getAppId()
Get the app ID.Get the completion time (as date).Get the completion time (as long).long
Get elapsed time.getEntry()
Get the entry.getError()
Get the error message.Get the reference ID.long
Get the request count.Get the result.Get the start time (as date).long
Get the start time (as long).Get the status.long
Get the estimated waiting time for the job to finish.boolean
isDone()
is the job done?void
setWaitingTime
(long waitingTime) Set the estimated waiting time for the job to finish (this is a transient value).
-
Method Details
-
getEntry
PrintJobEntry getEntry()Get the entry. -
getReferenceId
String getReferenceId()Get the reference ID. -
getAppId
String getAppId()Get the app ID. -
getStartDate
Date getStartDate()Get the start time (as date). -
getStartTime
long getStartTime()Get the start time (as long). -
getAccess
AccessAssertion getAccess()Get the access information. -
getCompletionTime
Long getCompletionTime()Get the completion time (as long). -
getCompletionDate
Date getCompletionDate()Get the completion time (as date). -
getRequestCount
long getRequestCount()Get the request count. -
getError
String getError()Get the error message. -
getStatus
PrintJobStatus.Status getStatus()Get the status. -
getResult
PrintJobResult getResult()Get the result. -
getElapsedTime
long getElapsedTime()Get elapsed time. -
isDone
boolean isDone()is the job done? -
getWaitingTime
long getWaitingTime()Get the estimated waiting time for the job to finish. -
setWaitingTime
void setWaitingTime(long waitingTime) Set the estimated waiting time for the job to finish (this is a transient value).- Parameters:
waitingTime
- the waiting time
-