Container Management and associated Northbound APIs.
[controller.git] / opendaylight / containermanager / api / src / main / java / org / opendaylight / controller / containermanager / ContainerChangeEvent.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
14 import org.opendaylight.controller.sal.core.UpdateType;
15
16 public class ContainerChangeEvent implements Serializable {
17     private static final long serialVersionUID = 1L;
18     private ContainerConfig config;
19     private UpdateType update;
20
21     public ContainerChangeEvent(ContainerConfig config, UpdateType update) {
22         this.config = config;
23         this.update = update;
24     }
25
26     public UpdateType getUpdateType() {
27         return update;
28     }
29
30     public ContainerConfig getConfig() {
31         return config;
32     }
33 }