1 /* 2 * Sonar, entreprise quality control tool. 3 * Copyright (C) 2007-2008 Hortis-GRC SA 4 * mailto:be_agile HAT hortis DOT ch 5 * 6 * Sonar is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 3 of the License, or (at your option) any later version. 10 * 11 * Sonar is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with {library}; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 19 */ 20 package ch.hortis.sonar.model; 21 22 /** 23 * Metrics data type 24 */ 25 public enum RuleFailureLevel { 26 27 /** 28 * WARNING : DO NOT CHANGE THE ENUMERATION ORDER 29 * the enum ordinal is used for db persistance 30 */ 31 INFO, WARNING, ERROR 32 33 }