Coverage Report - org.mule.transport.quartz.jobs.ScheduledDispatchJobConfig
 
Classes in this File Line Coverage Branch Coverage Complexity
ScheduledDispatchJobConfig
0%
0/6
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.quartz.jobs;
 8  
 
 9  
 import org.mule.transport.quartz.config.AbstractJobConfig;
 10  
 
 11  
 import org.quartz.Job;
 12  
 import org.quartz.StatefulJob;
 13  
 
 14  
 /**
 15  
  * The configuration for the {@link ScheduledDispatchJob} job.
 16  
  */
 17  0
 public class ScheduledDispatchJobConfig extends AbstractJobConfig
 18  
 {
 19  
     /** 
 20  
      * The endpoint ref has to be a string and not a reference to the actual endpoint because
 21  
      * jobs can get stored in a database 
 22  
      */
 23  
     private String endpointRef;
 24  
 
 25  
     public String getEndpointRef()
 26  
     {
 27  0
         return endpointRef;
 28  
     }
 29  
 
 30  
     public void setEndpointRef(String endpointRef)
 31  
     {
 32  0
         this.endpointRef = endpointRef;
 33  0
     }
 34  
 
 35  
     @Override
 36  
     protected Class<? extends StatefulJob> getStatefulJobClass()
 37  
     {
 38  0
         return StatefulScheduledDispatchJob.class;
 39  
     }
 40  
 
 41  
     @Override
 42  
     protected Class<? extends Job> getStatelessJobClass()
 43  
     {
 44  0
         return ScheduledDispatchJob.class;
 45  
     }
 46  
 }