Merge branch 'blueprint' from controller
[mdsal.git] / opendaylight / blueprint / src / main / java / org / opendaylight / controller / blueprint / ext / UpdateStrategy.java
diff --git a/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/UpdateStrategy.java b/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/UpdateStrategy.java
new file mode 100644 (file)
index 0000000..2f83bc6
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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.blueprint.ext;
+
+/**
+ * Enumerates possible strategies when a component is updated.
+ *
+ * @author Vishal Thapar
+ */
+public enum UpdateStrategy {
+    /*
+     * Restart container
+     */
+    RELOAD,
+    /*
+     * Don't do anything
+     */
+    NONE
+}