/*==========================================================================*\ | $Id: HintPriority.java,v 1.1 2011/10/11 15:25:46 stedwar2 Exp $ |*-------------------------------------------------------------------------*| | Copyright (C) 2006-2011 Virginia Tech | | This file is part of the Student-Library. | | The Student-Library 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 (at your option) any later version. | | The Student-Library 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 Lesser General Public License for more details. | | You should have received a copy of the GNU Lesser General Public License | along with the Student-Library; if not, see <http://www.gnu.org/licenses/>. \*==========================================================================*/ package student.testingsupport.annotations; import java.lang.annotation.*; //------------------------------------------------------------------------- /** * Annotation used to provide a priority level used to influence hint * selection. Hint priorities are integer values and may be specified * on a class or method. Without annotation, the default priority of * any hint is zero. Use this annotation to specify a numerically higher * (or lower) priority. Any hints with a numerically higher priority * value will be selected for presentation to a student before any others * with a numerically lower priority. * * @author Stephen Edwards * @author Last changed by $Author: stedwar2 $ * @version $Revision: 1.1 $, $Date: 2011/10/11 15:25:46 $ */ @Documented @Inherited @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD}) public @interface HintPriority { /** The hint priority to use. */ int value(); }