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  
  * 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.expression;
 8  
 
 9  
 import org.mule.api.MuleMessage;
 10  
 import org.mule.api.expression.ExpressionEnricher;
 11  
 import org.mule.api.transport.PropertyScope;
 12  
 
 13  0
 public class VariableExpressionEnricher implements ExpressionEnricher
 14  
 {
 15  
 
 16  
     public static final String NAME = "variable";
 17  
 
 18  
     public void enrich(String expression, MuleMessage message, Object object)
 19  
     {
 20  0
         message.setProperty(expression, object, PropertyScope.INVOCATION);
 21  0
     }
 22  
 
 23  
     public String getName()
 24  
     {
 25  0
         return NAME;
 26  
     }
 27  
 
 28  
     public void setName(String name)
 29  
     {
 30  0
         throw new UnsupportedOperationException();
 31  
     }
 32  
 
 33  
 }