com.atlassian.crowd.console.action.options
Class UpdateLoggingProfiling.LoggingConfigEntry
java.lang.Object
com.atlassian.crowd.console.action.options.UpdateLoggingProfiling.LoggingConfigEntry
- All Implemented Interfaces:
- Comparable<UpdateLoggingProfiling.LoggingConfigEntry>
- Enclosing class:
- UpdateLoggingProfiling
protected static class UpdateLoggingProfiling.LoggingConfigEntry
- extends Object
- implements Comparable<UpdateLoggingProfiling.LoggingConfigEntry>
Represents a Log4j Config entry, corresponding to a Class or Package mapped to a Level.
Field Summary |
protected String |
clazz
String as we may need to preserve additivity. |
protected org.apache.log4j.Level |
level
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
protected 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(String clazz,
org.apache.log4j.Level level)
UpdateLoggingProfiling.LoggingConfigEntry
public UpdateLoggingProfiling.LoggingConfigEntry(String clazz,
String level)
isRoot
public boolean isRoot()
getClazz
public String getClazz()
getLevel
public 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(String clazz)
setLevel
public void setLevel(String level)
compareTo
public int compareTo(UpdateLoggingProfiling.LoggingConfigEntry o)
- Specified by:
compareTo
in interface Comparable<UpdateLoggingProfiling.LoggingConfigEntry>
Copyright © 2013 Atlassian. All Rights Reserved.