|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cruisecontrol.buildloggers.MergeLogger
This BuildLogger implementation merges other XML logs into the CruiseControl main log. It can work with either a single file, or a directory. If a directory is specified, then all the XML files in that directory will be merged into the CruiseControl log.
Constructor Summary | |
MergeLogger()
|
Method Summary | |
void |
log(org.jdom.Element buildLog)
Note: the plugin must be validated before calling this method. |
void |
setDir(java.lang.String dir)
|
void |
setFile(java.lang.String file)
|
void |
setPattern(java.lang.String pattern)
Sets the pattern which the filenames in a directory must match. |
void |
setRemoveProperties(boolean b)
|
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MergeLogger()
Method Detail |
public void setFile(java.lang.String file)
public void setDir(java.lang.String dir)
public void setPattern(java.lang.String pattern)
pattern
- a valid Jakarta-ORO Glob pattern.public void validate() throws CruiseControlException
BuildLogger
validate
in interface BuildLogger
CruiseControlException
- if there was a configuration error.public void log(org.jdom.Element buildLog) throws CruiseControlException
validated
before calling this method.
log
in interface BuildLogger
buildLog
- JDOM Element, the actual cruisecontrol build log
CruiseControlException
public void setRemoveProperties(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |