Coverage Report - org.mule.transformer.compression.AbstractCompressionTransformer
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractCompressionTransformer
0%
0/5
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.transformer.compression;
 8  
 
 9  
 import org.mule.transformer.AbstractTransformer;
 10  
 import org.mule.util.compression.CompressionStrategy;
 11  
 
 12  
 /**
 13  
  * <code>AbstractCompressionTransformer</code> is a base class for all transformers
 14  
  * that can compress or uncompress data when they performa message transformation.
 15  
  * Compression is done via a pluggable strategy.
 16  
  */
 17  
 
 18  
 public abstract class AbstractCompressionTransformer extends AbstractTransformer
 19  
 {
 20  
     private CompressionStrategy strategy;
 21  
 
 22  
     /**
 23  
      * default constructor required for discovery
 24  
      */
 25  
     public AbstractCompressionTransformer()
 26  
     {
 27  0
         super();
 28  0
     }
 29  
 
 30  
     public CompressionStrategy getStrategy()
 31  
     {
 32  0
         return strategy;
 33  
     }
 34  
 
 35  
     public void setStrategy(CompressionStrategy strategy)
 36  
     {
 37  0
         this.strategy = strategy;
 38  0
     }
 39  
 
 40  
 }