com.atlassian.bamboo.configuration
Class ConfigureLog4jAction.LoggingConfigEntry

java.lang.Object
  extended by com.atlassian.bamboo.configuration.ConfigureLog4jAction.LoggingConfigEntry
All Implemented Interfaces:
java.lang.Comparable<ConfigureLog4jAction.LoggingConfigEntry>
Enclosing class:
ConfigureLog4jAction

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

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(ConfigureLog4jAction.LoggingConfigEntry 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(ConfigureLog4jAction.LoggingConfigEntry o)
Specified by:
compareTo in interface java.lang.Comparable<ConfigureLog4jAction.LoggingConfigEntry>


Copyright © 2011 Atlassian. All Rights Reserved.