public abstract class Docx4jEvent
extends java.lang.Object
| Constructor and Description |
|---|
Docx4jEvent(JobIdentifier job)
Use this to signal the start or end of a Job.
|
Docx4jEvent(JobIdentifier job,
PackageIdentifier pkgIdentifier)
Use this to signal the start or end of work on a specific pkg in a job.
|
Docx4jEvent(JobIdentifier job,
PackageIdentifier pkgIdentifier,
ProcessStep processStep)
Use this to signal the start or end of a process step,
on some pkg in some overall job.
|
Docx4jEvent(PackageIdentifier pkgIdentifier)
Use this to signal the start or end of work on a specific pkg,
where you didn't define an overall job.
|
Docx4jEvent(PackageIdentifier pkgIdentifier,
ProcessStep processStep)
Use this to signal the start or end of a process step,
where you didn't define an overall job.
|
| Modifier and Type | Method and Description |
|---|---|
JobIdentifier |
getJob() |
PackageIdentifier |
getPkgIdentifier() |
ProcessStep |
getProcessStep()
Retrieve the step in the process, if set.
|
void |
publish() |
static java.lang.Boolean |
publishAsynch() |
static void |
setEventNotifier(net.engio.mbassy.bus.MBassador<Docx4jEvent> bus) |
void |
setProcessStep(ProcessStep processStep) |
static void |
setPublishAsynch(java.lang.Boolean publishAsynch) |
public Docx4jEvent(JobIdentifier job)
job - eventType - public Docx4jEvent(JobIdentifier job, PackageIdentifier pkgIdentifier)
job - eventType - public Docx4jEvent(PackageIdentifier pkgIdentifier)
job - eventType - public Docx4jEvent(PackageIdentifier pkgIdentifier, ProcessStep processStep)
job - eventType - public Docx4jEvent(JobIdentifier job, PackageIdentifier pkgIdentifier, ProcessStep processStep)
job - eventType - public static void setEventNotifier(net.engio.mbassy.bus.MBassador<Docx4jEvent> bus)
public static java.lang.Boolean publishAsynch()
public static void setPublishAsynch(java.lang.Boolean publishAsynch)
public PackageIdentifier getPkgIdentifier()
public void publish()
public JobIdentifier getJob()
public ProcessStep getProcessStep()
public void setProcessStep(ProcessStep processStep)
Copyright © 2007–2023. All rights reserved.