| java.lang.Object net.sourceforge.cruisecontrol.sourcecontrols.Accurev
getModifications | public List getModifications(Date lastBuild, Date now)(Code) | | Calls "accurev hist -s [stream] -t "[now] - [lastBuild]" or something like that ; )
Parameters: lastBuild - the date and time of the last successful build Parameters: now - the current date and time the List of all detected modifications |
getProperties | public Map getProperties()(Code) | | |
parseStream | public boolean parseStream(InputStream input) throws IOException, CruiseControlException(Code) | | Parse the output from Accurev. These are lines of the form:
transaction <id>; <verb>; YYYY/MM/DD hh:mm:ss ; user: <user>
# <comment>
\.\PathTo\FileChanged.cpp <version>
Where can be promote, chstream or purge. There can be multiple lines of comments and
files.
Parameters: input - the output of the "accurev hist" command run true at the end throws: IOException - |
setProperty | public void setProperty(String propertyName)(Code) | | Choose a property to be set if the project has modifications
Parameters: propertyName - the name of the property |
setStream | public void setStream(String stream)(Code) | | Sets the Accurev stream to search for changes
Parameters: stream - the name of the stream |
setVerbose | public void setVerbose(boolean verbose)(Code) | | Enables/disables verbose logging
Parameters: verbose - set to true to enable verbose logging |
|
|