com.atlassian.confluence.admin.actions
Class ConfigureLog4jAction.LoggingConfigEntry

java.lang.Object
  extended by com.atlassian.confluence.admin.actions.ConfigureLog4jAction.LoggingConfigEntry
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
ConfigureLog4jAction

public static class ConfigureLog4jAction.LoggingConfigEntry
extends java.lang.Object
implements java.lang.Comparable

Represents a Log4j Config entry, corresponding to a Class or Package mapped to a Level.


Constructor Summary
ConfigureLog4jAction.LoggingConfigEntry()
           
ConfigureLog4jAction.LoggingConfigEntry(java.lang.String clazz, org.apache.log4j.Level level)
           
ConfigureLog4jAction.LoggingConfigEntry(java.lang.String clazz, java.lang.String level)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getClazz()
           
 java.lang.String getLevel()
          OGNL forces me to match getter and setter types.
 boolean isRoot()
           
 void setClazz(java.lang.String clazz)
           
 void setLevel(java.lang.String level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigureLog4jAction.LoggingConfigEntry

public ConfigureLog4jAction.LoggingConfigEntry()

ConfigureLog4jAction.LoggingConfigEntry

public ConfigureLog4jAction.LoggingConfigEntry(java.lang.String clazz,
                                               org.apache.log4j.Level level)

ConfigureLog4jAction.LoggingConfigEntry

public ConfigureLog4jAction.LoggingConfigEntry(java.lang.String clazz,
                                               java.lang.String level)
Method Detail

isRoot

public boolean isRoot()

getClazz

public java.lang.String getClazz()

getLevel

public java.lang.String getLevel()
OGNL forces me to match getter and setter types. Possibly this could be avoided by use of a TypeConverter.

Returns:
the string

setClazz

public void setClazz(java.lang.String clazz)

setLevel

public void setLevel(java.lang.String level)

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2003-2014 Atlassian. All Rights Reserved.