001/*
002 * Logback: the reliable, generic, fast and flexible logging framework.
003 * Copyright (C) 1999-2023, QOS.ch. All rights reserved.
004 *
005 * This program and the accompanying materials are dual-licensed under
006 * either the terms of the Eclipse Public License v1.0 as published by
007 * the Eclipse Foundation
008 *
009 *   or (per the licensee's choosing)
010 *
011 * under the terms of the GNU Lesser General Public License version 2.1
012 * as published by the Free Software Foundation.
013 */
014
015package ch.qos.logback.classic.spi;
016
017import java.lang.annotation.ElementType;
018import java.lang.annotation.Retention;
019import java.lang.annotation.RetentionPolicy;
020import java.lang.annotation.Target;
021
022
023
024@Retention(RetentionPolicy.RUNTIME)
025@Target(ElementType.TYPE)
026public @interface ConfiguratorRank {
027
028    static public int FALLBACK = -10;
029    static public int NOMINAL = 0;
030    static public int SERIALIZED_MODEL = 10;
031
032    static public int DEFAULT = 20;
033
034    static public int CUSTOM_LOW_PRIORITY = DEFAULT;
035
036    static public int CUSTOM_NORMAL_PRIORITY = 30;
037
038    static public int CUSTOM_HIGH_PRIORITY = 40;
039
040    static public int CUSTOM_TOP_PRIORITY = 50;
041    public int value() default DEFAULT;
042}