X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fcontainermanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcontainermanager%2FContainerChangeEvent.java;fp=opendaylight%2Fcontainermanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcontainermanager%2FContainerChangeEvent.java;h=7e040c7852b8af1c59783b8b7f2f16a9eedb0d33;hb=5ec563c2e47e7e104223bbad155f9f3f0fadd38b;hp=0000000000000000000000000000000000000000;hpb=9092f24a69c54a4512cb1cdbb4ca2c3734a087d5;p=controller.git diff --git a/opendaylight/containermanager/api/src/main/java/org/opendaylight/controller/containermanager/ContainerChangeEvent.java b/opendaylight/containermanager/api/src/main/java/org/opendaylight/controller/containermanager/ContainerChangeEvent.java new file mode 100644 index 0000000000..7e040c7852 --- /dev/null +++ b/opendaylight/containermanager/api/src/main/java/org/opendaylight/controller/containermanager/ContainerChangeEvent.java @@ -0,0 +1,33 @@ + +/* + * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.containermanager; + +import java.io.Serializable; + +import org.opendaylight.controller.sal.core.UpdateType; + +public class ContainerChangeEvent implements Serializable { + private static final long serialVersionUID = 1L; + private ContainerConfig config; + private UpdateType update; + + public ContainerChangeEvent(ContainerConfig config, UpdateType update) { + this.config = config; + this.update = update; + } + + public UpdateType getUpdateType() { + return update; + } + + public ContainerConfig getConfig() { + return config; + } +}