Methods Summary |
---|
public final PropertyElement | createProperty()
return m_genericCfg.createProperty ();
|
protected com.vladium.util.IProperties | getTaskSettings()
// (1) by default, generic settings are always more specific than any file settings
// (2) verbosity settings use dedicated attributes and hence are more specific
// than anything generic
final IProperties fileSettings = m_genericCfg.getFileSettings ();
final IProperties genericSettings = m_genericCfg.getGenericSettings ();
final IProperties verbositySettings = m_verbosityCfg.getSettings ();
return IProperties.Factory.combine (verbositySettings,
IProperties.Factory.combine (genericSettings,
fileSettings));
|
public void | init()
super.init ();
m_verbosityCfg = new VerbosityCfg ();
m_genericCfg = new GenericCfg (this);
|
public final boolean | isEnabled()
return m_enabled;
|
public static org.apache.tools.ant.BuildException | newBuildException(java.lang.String msg, org.apache.tools.ant.Location location)
final String prefixedMsg = ((msg == null) || (msg.length () == 0))
? msg
: IAppConstants.APP_THROWABLE_BUILD_ID + " " + msg;
return new BuildException (prefixedMsg, location);
|
public static org.apache.tools.ant.BuildException | newBuildException(java.lang.String msg, java.lang.Throwable cause, org.apache.tools.ant.Location location)
final String prefixedMsg = ((msg == null) || (msg.length () == 0))
? msg
: IAppConstants.APP_THROWABLE_BUILD_ID + " " + msg;
return new BuildException (prefixedMsg, cause, location);
|
public final void | setEnabled(boolean enabled)Set the optional 'enabled' attribute [defaults to 'true'].
m_enabled = enabled;
|
public final void | setProperties(java.io.File file)
m_genericCfg.setProperties (file);
|
public void | setVerbosity(VerbosityCfg.VerbosityAttribute verbosity)
m_verbosityCfg.setVerbosity (verbosity);
|
public void | setVerbosityfilter(java.lang.String filter)
m_verbosityCfg.setVerbosityfilter (filter);
|