public class HibernateAccounting.JobTracker extends Accounting.JobTracker
configuration, entry, successTimer| Modifier | Constructor and Description |
|---|---|
protected |
JobTracker(PrintJobEntry entry,
Configuration configuration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onJobCancel()
To be called when a job is cancelled.
|
void |
onJobError()
To be called when a job is on error.
|
long |
onJobSuccess(PrintJob.PrintResult printResult)
To be called when a job is a success.
|
protected JobTracker(PrintJobEntry entry, Configuration configuration)
entry - the job description.configuration - the job configuration.public long onJobSuccess(PrintJob.PrintResult printResult)
Accounting.JobTrackeronJobSuccess in class Accounting.JobTrackerprintResult - Output file size in bytespublic void onJobCancel()
Accounting.JobTrackeronJobCancel in class Accounting.JobTrackerpublic void onJobError()
Accounting.JobTrackeronJobError in class Accounting.JobTracker