/** * Copyright (C) 2008-2010, Squale Project - http://www.squale.org * * This file is part of Squale. * * Squale is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or any later version. * * Squale is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Squale. If not, see <http://www.gnu.org/licenses/>. */ /* * Cr�� le 21 juin 06 * * Pour changer le mod�le de ce fichier g�n�r�, allez � : * Fen�tre>Pr�f�rences>Java>G�n�ration de code>Code et commentaires */ package org.squale.squalecommon.util; import java.io.Serializable; /** * Classe permettant d'avoir des constantes dans l'utilisation du plugin checkstyle * * @author henix */ public class ConstantRulesChecking implements Serializable { /** * Constantes Checkstyle de severite pour remplir le tableau de repartition dans le cas de checkstyle Case info */ public static final int INFO_INT = 0; /** * case warning */ public static final int WARNING_INT = 1; /** * case error */ public static final int ERROR_INT = 2; /** * Constantes Checkstyle du niveau de la s�v�rit� de la r�gle Case info */ public static final String INFO_LABEL = "info"; /** * case warning */ public static final String WARNING_LABEL = "warning"; /** * case error */ public static final String ERROR_LABEL = "error"; /** Tableau des s�v�rit�s */ public static final String[] SEVERITIES = { ERROR_LABEL, WARNING_LABEL, INFO_LABEL }; }