Initial source code
[oam/tr069-adapter.git] / common / src / main / java / org / commscope / tr069adapter / common / scheduler / impl / TimerAPIConstants.java
diff --git a/common/src/main/java/org/commscope/tr069adapter/common/scheduler/impl/TimerAPIConstants.java b/common/src/main/java/org/commscope/tr069adapter/common/scheduler/impl/TimerAPIConstants.java
new file mode 100644 (file)
index 0000000..e282db6
--- /dev/null
@@ -0,0 +1,33 @@
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.common.scheduler.impl;\r
+\r
+public class TimerAPIConstants {\r
+\r
+  private TimerAPIConstants() {}\r
+\r
+  public static final String DM_SUB_SYSTEM = "dm";\r
+  public static final String TIMEOUT_HANDLER_JNDI_NAME = "timerHandler";\r
+  public static final String TIMER_ID_KEY = "timerIdKey";\r
+  public static final String TIMER_LISTENER_KEY = "timerListenerKey";\r
+  public static final String TIMER_DATA_KEY = "timerDataKey";\r
+  public static final String TIMER_JOB_GROUP = "timerJobGroup";\r
+  public static final long HOUR_IN_MILLIS = 1000 * 60 * 60l;\r
+\r
+}\r