Coverage Report - org.mule.transport.xmpp.filters.XmppToContainsFilter
 
Classes in this File Line Coverage Branch Coverage Complexity
XmppToContainsFilter
0%
0/5
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.xmpp.filters;
 8  
 
 9  
 import org.jivesoftware.smack.filter.PacketFilter;
 10  
 import org.jivesoftware.smack.filter.ToContainsFilter;
 11  
 
 12  
 /**
 13  
  * <code>XmppToContainsFilter</code> is an Xmpp ToContainsfilter adapter.
 14  
  */
 15  
 public class XmppToContainsFilter extends XmppFromContainsFilter
 16  
 {
 17  
     public XmppToContainsFilter()
 18  
     {
 19  0
         super();
 20  0
     }
 21  
 
 22  
     public XmppToContainsFilter(String expression)
 23  
     {
 24  0
         super(expression);
 25  0
     }
 26  
 
 27  
     @Override
 28  
     protected PacketFilter createFilter()
 29  
     {
 30  0
         return new ToContainsFilter(pattern);
 31  
     }
 32  
 }