com.atlassian.crowd.console.action.options
Class UpdateLoggingProfiling.LoggingConfigEntry
java.lang.Object
com.atlassian.crowd.console.action.options.UpdateLoggingProfiling.LoggingConfigEntry
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- UpdateLoggingProfiling
protected static class UpdateLoggingProfiling.LoggingConfigEntry
- extends java.lang.Object
- implements java.lang.Comparable
Represents a Log4j Config entry, corresponding to a Class or Package mapped to a Level.
Field Summary |
protected java.lang.String |
clazz
String as we may need to preserve additivity. |
protected org.apache.log4j.Level |
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 |
clazz
protected java.lang.String clazz
- String as we may need to preserve additivity.
level
protected org.apache.log4j.Level level
UpdateLoggingProfiling.LoggingConfigEntry
public UpdateLoggingProfiling.LoggingConfigEntry()
UpdateLoggingProfiling.LoggingConfigEntry
public UpdateLoggingProfiling.LoggingConfigEntry(java.lang.String clazz,
org.apache.log4j.Level level)
UpdateLoggingProfiling.LoggingConfigEntry
public UpdateLoggingProfiling.LoggingConfigEntry(java.lang.String clazz,
java.lang.String level)
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 © 2010 Atlassian. All Rights Reserved.