Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EventGeneratorJobConfig |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: EventGeneratorJobConfig.java 11613 2008-04-20 20:30:10Z rossmason $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
10 | package org.mule.transport.quartz.jobs; | |
11 | ||
12 | import org.mule.transport.quartz.config.AbstractJobConfig; | |
13 | import org.mule.transport.NullPayload; | |
14 | ||
15 | ||
16 | /** | |
17 | * The configuration for the {@link EventGeneratorJob} job. | |
18 | */ | |
19 | 92 | public class EventGeneratorJobConfig extends AbstractJobConfig |
20 | { | |
21 | 92 | private Object payload = NullPayload.getInstance(); |
22 | ||
23 | public Object getPayload() | |
24 | { | |
25 | 4 | return payload; |
26 | } | |
27 | ||
28 | public void setPayload(Object payload) | |
29 | { | |
30 | 64 | this.payload = payload; |
31 | 64 | } |
32 | ||
33 | public Class getJobClass() | |
34 | { | |
35 | 40 | return EventGeneratorJob.class; |
36 | } | |
37 | ||
38 | } |