FileDocCategorySizeDatePackage
VerbosityCfg.javaAPI DocAndroid 1.5 API3106Wed May 06 22:41:16 BST 2009com.vladium.emma.ant

VerbosityCfg

public final class VerbosityCfg extends Object
author
Vlad Roubtsov, (C) 2004

Fields Summary
private String
m_verbosity
private String
m_verbosityFilter
private transient com.vladium.util.IProperties
m_settings
Constructors Summary
Methods Summary
public com.vladium.util.IPropertiesgetSettings()

        IProperties settings = m_settings;
        if (settings == null)
        {
            settings = EMMAProperties.wrap (new Properties ());
            
            if ((m_verbosity != null) && (m_verbosity.trim ().length () > 0))
                settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_LEVEL, m_verbosity.trim ());
            
            if ((m_verbosityFilter != null) && (m_verbosityFilter.trim ().length () > 0))
                settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_FILTER, m_verbosityFilter.trim ());
            
            m_settings = settings;
            return settings;
        }
        
        return settings;
    
public voidsetVerbosity(com.vladium.emma.ant.VerbosityCfg$VerbosityAttribute verbosity)


     // end of nested class
    

    // verbosity attribute:
    
         
    
        m_verbosity = verbosity.getValue ();
    
public voidsetVerbosityfilter(java.lang.String filter)

        m_verbosityFilter = filter;