--- /dev/null
+/**\r
+ * Copyright 2017 ZTE Corporation.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+package org.openo.holmes.common.api.stat;\r
+\r
+import java.io.Serializable;\r
+\r
+public interface AplusResult extends Serializable {\r
+\r
+ /**\r
+ * Derived new alarm type - 0\r
+ */\r
+ byte APLUS_RAISED = 0;\r
+\r
+ /**\r
+ * Correlation alarm, root-child alarm - 1\r
+ */\r
+ byte APLUS_CORRELATION = 1;\r
+\r
+ /**\r
+ * cleared\r
+ */\r
+ byte APLUS_CLEAR = 2;\r
+\r
+\r
+ int getId();\r
+\r
+ void setId(int id);\r
+\r
+ String getRuleInfo();\r
+\r
+ void setRuleInfo(String ruleInfo);\r
+\r
+ String getRuleType();\r
+\r
+ void setRuleType(String ruleType);\r
+\r
+ void setRuleId(String ruleId);\r
+\r
+ String getRuleId();\r
+\r
+ long getCreateTime();\r
+\r
+ void setCreateTime(long createTime);\r
+\r
+ byte getResultType();\r
+\r
+ void setResultType(byte resultType);\r
+\r
+ Alarm[] getAffectedAlarms();\r
+\r
+ void setAffectedAlarms(Alarm[] affectedAlarms);\r
+\r
+}\r