Coverage Report - org.mule.expression.VariableExpressionEnricher
 
Classes in this File Line Coverage Branch Coverage Complexity
VariableExpressionEnricher
0%
0/5
N/A
1.333
 
 1  
 /*
 2  
  * $Id: VariableExpressionEnricher.java 20416 2010-12-01 12:27:32Z dfeist $
 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  
 
 11  
 package org.mule.expression;
 12  
 
 13  
 import org.mule.api.MuleMessage;
 14  
 import org.mule.api.expression.ExpressionEnricher;
 15  
 import org.mule.api.transport.PropertyScope;
 16  
 
 17  0
 public class VariableExpressionEnricher implements ExpressionEnricher
 18  
 {
 19  
 
 20  
     public static final String NAME = "variable";
 21  
 
 22  
     public void enrich(String expression, MuleMessage message, Object object)
 23  
     {
 24  0
         message.setProperty(expression, object, PropertyScope.INVOCATION);
 25  0
     }
 26  
 
 27  
     public String getName()
 28  
     {
 29  0
         return NAME;
 30  
     }
 31  
 
 32  
     public void setName(String name)
 33  
     {
 34  0
         throw new UnsupportedOperationException();
 35  
     }
 36  
 
 37  
 }