1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.core.provisioning.api.event;
20
21 import org.springframework.context.ApplicationEvent;
22
23 public class JobStatusEvent extends ApplicationEvent {
24
25 private static final long serialVersionUID = 373067530016978592L;
26
27 private final String jobRefDesc;
28
29 private final String jobStatus;
30
31 public JobStatusEvent(final Object source, final String jobRefDesc, final String jobStatus) {
32 super(source);
33 this.jobRefDesc = jobRefDesc;
34 this.jobStatus = jobStatus;
35 }
36
37 public String getJobRefDesc() {
38 return jobRefDesc;
39 }
40
41 public String getJobStatus() {
42 return jobStatus;
43 }
44
45 @Override
46 public String toString() {
47 return "JobStatusEvent{"
48 + "jobRefDesc=" + jobRefDesc
49 + ", jobStatus=" + jobStatus
50 + '}';
51 }
52 }