| |
|
| java.lang.Object net.sourceforge.cruisecontrol.util.XMLLogHelper
XMLLogHelper | public class XMLLogHelper (Code) | | Wrapper for the cruisecontrol build log. This class serves two purposes:
- Provide a convenient way to get relevant information about the build
- Abstract the build information so that the XML for the build log can change easily
The CruiseControl log is expected to be in the following format:
Note: buildtarget is only present when a target is forced via the JMX interface.
author: Alden Almagro author: Jonny Boman version: $Id: XMLLogHelper.java 3136 2007-06-27 06:58:42Z bhamail $ |
XMLLogHelper | public XMLLogHelper(Element log)(Code) | | |
getBuildParticipants | public Set getBuildParticipants()(Code) | | Looks in modifications/changelist/ or modifications/modification/user depending on SouceControl implementation.
Set of usernames that have modified code since the last build |
getModifications | public Set getModifications()(Code) | | |
isBuildNecessary | public boolean isBuildNecessary()(Code) | | true if the build was necessary |
isBuildSuccessful | public boolean isBuildSuccessful()(Code) | | true if the build was successful, false otherwise |
wasPreviousBuildSuccessful | public boolean wasPreviousBuildSuccessful() throws CruiseControlException(Code) | | true if the previous build was successful, false if it was not |
|
|
|