Coverage Report - org.mule.transport.email.ImapsConnector
 
Classes in this File Line Coverage Branch Coverage Complexity
ImapsConnector
0%
0/4
N/A
1
 
 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.email;
 8  
 
 9  
 import org.mule.api.MuleContext;
 10  
 
 11  
 /**
 12  
  * Creates a secure IMAP connection
 13  
  */
 14  
 public class ImapsConnector extends AbstractTlsRetrieveMailConnector
 15  
 {
 16  
     
 17  
     public static final String IMAPS = "imaps";
 18  
     public static final int DEFAULT_IMAPS_PORT = 993;
 19  
 
 20  
     public ImapsConnector(MuleContext context)
 21  
     {
 22  0
         super(DEFAULT_IMAPS_PORT, ImapsSocketFactory.MULE_IMAPS_NAMESPACE, ImapsSocketFactory.class, context);
 23  0
     }
 24  
   
 25  
     public String getProtocol()
 26  
     {
 27  0
         return IMAPS;
 28  
     }
 29  
     
 30  
     public String getBaseProtocol()
 31  
     {
 32  0
         return ImapConnector.IMAP;
 33  
     }
 34  
 
 35  
 }