View Javadoc

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  public class EventGeneratorJobConfig extends AbstractJobConfig
20  {
21      private Object payload = NullPayload.getInstance();
22  
23      public Object getPayload()
24      {
25          return payload;
26      }
27  
28      public void setPayload(Object payload)
29      {
30          this.payload = payload;
31      }
32  
33      public Class getJobClass()
34      {
35          return EventGeneratorJob.class;
36      }
37  
38  }