Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / opendaylight / adsal / containermanager / api / src / main / java / org / opendaylight / controller / containermanager / ContainerFlowChangeEvent.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.containermanager;
11
12 import java.io.Serializable;
13 import java.util.List;
14
15 import org.opendaylight.controller.sal.core.UpdateType;
16
17 public class ContainerFlowChangeEvent implements Serializable {
18     private static final long serialVersionUID = 1L;
19     private List<ContainerFlowConfig> configs;
20     private UpdateType updateType;
21
22     public ContainerFlowChangeEvent(List<ContainerFlowConfig> configs, UpdateType updateType) {
23         this.configs = configs;
24         this.updateType = updateType;
25     }
26
27     public List<ContainerFlowConfig> getConfigList() {
28         return configs;
29     }
30
31     public UpdateType getUpdateType() {
32         return updateType;
33     }
34
35     @Override
36     public String toString() {
37         return "ContainerFlowChangeEvent [configs: " + configs + " updateType: " + updateType + "]";
38     }
39 }