Coverage Report - org.mule.config.spring.editors.SimpleServiceTypePropertyEditor
 
Classes in this File Line Coverage Branch Coverage Complexity
SimpleServiceTypePropertyEditor
0%
0/3
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.config.spring.editors;
 8  
 
 9  
 import java.beans.PropertyEditorSupport;
 10  
 
 11  
 import org.mule.construct.SimpleService.Type;
 12  
 
 13  0
 public class SimpleServiceTypePropertyEditor extends PropertyEditorSupport
 14  
 {
 15  
     @Override
 16  
     public void setAsText(String text) throws IllegalArgumentException
 17  
     {
 18  0
         setValue(Type.fromString(text));
 19  0
     }
 20  
 }