001/** 002 * Logback: the reliable, generic, fast and flexible logging framework. 003 * Copyright (C) 1999-2015, 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 */ 014package ch.qos.logback.core.joran; 015 016import ch.qos.logback.core.CoreConstants; 017 018/** 019 * 020 * This class contains constants used by Joran components. 021 * 022 * @author Ceki Gülcü 023 * 024 */ 025public abstract class JoranConstants { 026 public static final String INCLUDED_TAG = "included"; 027 public static final String CONFIGURATION_TAG = "configuration"; 028 029 public static final String INCLUDE_TAG = "include"; 030 031 public static final String APPENDER_TAG = "appender"; 032 public static final String REF_ATTRIBUTE = "ref"; 033 public static final String ADDITIVITY_ATTRIBUTE = "additivity"; 034 public static final String LEVEL_ATTRIBUTE = "level"; 035 public static final String CONVERTER_CLASS_ATTRIBUTE = "converterClass"; 036 public static final String CONVERSION_WORD_ATTRIBUTE = "conversionWord"; 037 public static final String PATTERN_ATTRIBUTE = "pattern"; 038 public static final String VALUE_ATTR = "value"; 039 public static final String ACTION_CLASS_ATTRIBUTE = "actionClass"; 040 041 public static final String INHERITED = "INHERITED"; 042 // all usages in the project are case-insensitive. Elsewhere this might not be the case hence the toUpperCase call 043 public static final String NULL = CoreConstants.NULL_STR.toUpperCase(); 044 static final Class<?>[] ONE_STRING_PARAM = new Class[] { String.class }; 045 046 public static final String APPENDER_BAG = "APPENDER_BAG"; 047 public static final String APPENDER_REF_BAG = "APPENDER_REF_BAG"; 048 // public static final String FILTER_CHAIN_BAG = "FILTER_CHAIN_BAG"; 049}