public class JobStartedEvent extends Object implements org.xwiki.observation.event.BeginEvent
The event also send the following parameters:
Job instance| Constructor and Description |
|---|
JobStartedEvent()
Default constructor.
|
JobStartedEvent(JobStartedEvent jobEvent) |
JobStartedEvent(List<String> jobId,
String jobType,
Request request) |
JobStartedEvent(String jobType) |
JobStartedEvent(String jobId,
String jobType,
Request request) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getJobId() |
String |
getJobType() |
Request |
getRequest() |
boolean |
matches(Object event) |
public JobStartedEvent()
public JobStartedEvent(String jobType)
jobType - the event related job typepublic JobStartedEvent(String jobId, String jobType, Request request)
jobId - the event related job unique idjobType - the event related job typerequest - the event related job requestpublic JobStartedEvent(List<String> jobId, String jobType, Request request)
jobId - the event related job unique idjobType - the event related job typerequest - the event related job requestpublic JobStartedEvent(JobStartedEvent jobEvent)
jobEvent - the event to copypublic String getJobType()
getJobType in interface JobEventpublic Request getRequest()
getRequest in interface JobEventpublic boolean matches(Object event)
matches in interface org.xwiki.observation.event.EventCopyright © 2004–2016 XWiki. All rights reserved.