Coverage Report - org.mule.module.scripting.expression.GroovyExpressionEvaluator
 
Classes in this File Line Coverage Branch Coverage Complexity
GroovyExpressionEvaluator
0%
0/2
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.module.scripting.expression;
 8  
 
 9  
 import org.mule.api.MuleMessage;
 10  
 
 11  
 /**
 12  
  * An {@link org.mule.api.expression.ExpressionEvaluator} that allows the user to define Groovy expressions to extract
 13  
  * data from the current message.
 14  
  *
 15  
  * If a POJO is passed in it is accessible from the 'payload' namespace.  If a {@link MuleMessage} instance is used then
 16  
  * it is accessible from the message' namespace and the 'payload' namespace is also available.
 17  
  */
 18  0
 public class GroovyExpressionEvaluator extends AbstractScriptExpressionEvaluator
 19  
 {
 20  
     public static final String NAME = "groovy";
 21  
 
 22  
     /**
 23  
      * Gets the name of the object
 24  
      *
 25  
      * @return the name of the object
 26  
      */
 27  
     public String getName()
 28  
     {
 29  0
         return NAME;
 30  
     }
 31  
 }