Coverage Report - org.mule.transport.quartz.jobs.EndpointPollingJobConfig
 
Classes in this File Line Coverage Branch Coverage Complexity
EndpointPollingJobConfig
100%
9/9
N/A
1
 
 1  
 /*
 2  
  * $Id: EndpointPollingJobConfig.java 11678 2008-05-02 12:03:07Z dirk.olmes $
 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  
 
 14  
 /**
 15  
  * Configuration for the {@link EndpointPollingJob} job.
 16  
  */
 17  62
 public class EndpointPollingJobConfig extends AbstractJobConfig
 18  
 {
 19  
     private String endpointRef;
 20  
 
 21  
     //TODO this should use th system default
 22  62
     private int timeout = 5000;
 23  
 
 24  
     public String getEndpointRef()
 25  
     {
 26  14
         return endpointRef;
 27  
     }
 28  
 
 29  
     public void setEndpointRef(String endpointRef)
 30  
     {
 31  62
         this.endpointRef = endpointRef;
 32  62
     }
 33  
 
 34  
     public int getTimeout()
 35  
     {
 36  8
         return timeout;
 37  
     }
 38  
 
 39  
     public void setTimeout(int timeout)
 40  
     {
 41  18
         this.timeout = timeout;
 42  18
     }
 43  
 
 44  
     public Class getJobClass()
 45  
     {
 46  22
         return EndpointPollingJob.class;
 47  
     }
 48  
 }