1   /**
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2015, 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  package ch.qos.logback.core.joran;
15  
16  import ch.qos.logback.core.CoreConstants;
17  
18  /**
19   *
20   * This class contains constants used by Joran components.
21   * 
22   * @author Ceki Gülcü
23   *
24   */
25  public abstract class JoranConstants {
26      public static final String INCLUDED_TAG = "included";
27      public static final String CONFIGURATION_TAG = "configuration";
28  
29      public static final String INCLUDE_TAG = "include";
30  
31      public static final String APPENDER_TAG = "appender";
32      public static final String REF_ATTRIBUTE = "ref";
33      public static final String ADDITIVITY_ATTRIBUTE = "additivity";
34      public static final String LEVEL_ATTRIBUTE = "level";
35      public static final String CONVERTER_CLASS_ATTRIBUTE = "converterClass";
36      public static final String CONVERSION_WORD_ATTRIBUTE = "conversionWord";
37      public static final String PATTERN_ATTRIBUTE = "pattern";
38      public static final String VALUE_ATTR = "value";
39      public static final String ACTION_CLASS_ATTRIBUTE = "actionClass";
40  
41      public static final String INHERITED = "INHERITED";
42      // all usages in the project are case-insensitive. Elsewhere this might not be the case hence the toUpperCase call
43      public static final String NULL = CoreConstants.NULL_STR.toUpperCase();
44      static final Class<?>[] ONE_STRING_PARAM = new Class[] { String.class };
45  
46      public static final String APPENDER_BAG = "APPENDER_BAG";
47      public static final String APPENDER_REF_BAG = "APPENDER_REF_BAG";
48      // public static final String FILTER_CHAIN_BAG = "FILTER_CHAIN_BAG";
49  }