Coverage Report - org.mule.module.launcher.util.MultiElementAddedEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
MultiElementAddedEvent
0%
0/6
0%
0/2
1.5
 
 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.launcher.util;
 8  
 
 9  
 import java.util.ArrayList;
 10  
 import java.util.Collections;
 11  
 import java.util.List;
 12  
 
 13  
 /**
 14  
 *
 15  
 */
 16  
 public class MultiElementAddedEvent extends ElementEvent {
 17  
 
 18  0
     private List values = new ArrayList();
 19  
 
 20  
     public MultiElementAddedEvent(Object source, int index, List values) {
 21  0
         super(source, OLDVALUE, NEWVALUE, ElementEvent.MULTI_ADD, index);
 22  0
         if (values != null) {
 23  0
             this.values.addAll(values);
 24  
         }
 25  0
     }
 26  
 
 27  
     public List getValues() {
 28  0
         return Collections.unmodifiableList(values);
 29  
     }
 30  
 }