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
-
Constructor Summary
ConstructorDescriptionLoggingConfigEntry
(String clazz, String level) LoggingConfigEntry
(org.apache.logging.log4j.core.config.LoggerConfig logConfig) -
Method Summary
-
Field Details
-
clazz
String as we may need to preserve additivity. -
level
protected org.apache.logging.log4j.Level level
-
-
Constructor Details
-
LoggingConfigEntry
public LoggingConfigEntry(org.apache.logging.log4j.core.config.LoggerConfig logConfig) -
LoggingConfigEntry
-
-
Method Details
-
isRoot
public boolean isRoot() -
getClazz
-
getLevel
OGNL forces me to match getter and setter types. Possibly this could be avoided by use of a TypeConverter.- Returns:
- the string
-
setClazz
-
setLevel
-
compareTo
- Specified by:
compareTo
in interfaceComparable<UpdateLoggingProfiling.LoggingConfigEntry>
-
hashCode
public int hashCode() -
equals
-