View Javadoc
1   /*
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2023, QOS.ch. All rights reserved.
4    *
5    * This program and the accompanying materials are dual-licensed under
6    * either the terms of the Eclipse Public License v1.0 as published by
7    * the Eclipse Foundation
8    *
9    *   or (per the licensee's choosing)
10   *
11   * under the terms of the GNU Lesser General Public License version 2.1
12   * as published by the Free Software Foundation.
13   */
14  
15  package ch.qos.logback.classic.spi;
16  
17  import java.lang.annotation.ElementType;
18  import java.lang.annotation.Retention;
19  import java.lang.annotation.RetentionPolicy;
20  import java.lang.annotation.Target;
21  
22  
23  
24  @Retention(RetentionPolicy.RUNTIME)
25  @Target(ElementType.TYPE)
26  public @interface ConfiguratorRank {
27  
28      static public int FALLBACK = -10;
29      static public int NOMINAL = 0;
30      static public int SERIALIZED_MODEL = 10;
31  
32      static public int DEFAULT = 20;
33  
34      static public int CUSTOM_LOW_PRIORITY = DEFAULT;
35  
36      static public int CUSTOM_NORMAL_PRIORITY = 30;
37  
38      static public int CUSTOM_HIGH_PRIORITY = 40;
39  
40      static public int CUSTOM_TOP_PRIORITY = 50;
41      public int value() default DEFAULT;
42  }