public class JobStartedEvent extends Object implements org.xwiki.observation.event.BeginEvent
The event also send the following parameters:
Job
instanceConstructor 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 JobEvent
public Request getRequest()
getRequest
in interface JobEvent
public boolean matches(Object event)
matches
in interface org.xwiki.observation.event.Event
Copyright © 2004–2021 XWiki. All rights reserved.