|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.Accurev
public class Accurev
This class handles all Accurev aspects of determining the modifications since the last good build.
| Constructor Summary | |
|---|---|
Accurev()
|
|
| Method Summary | |
|---|---|
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
Calls "accurev hist -s [stream] -t "[now] - [lastBuild]" or something like that ; ) |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
boolean |
parseStream(java.io.InputStream input)
Parse the output from Accurev. |
void |
setProperty(java.lang.String propertyName)
Choose a property to be set if the project has modifications |
void |
setRunner(Runner runner)
|
void |
setStream(java.lang.String stream)
Sets the Accurev stream to search for changes |
void |
setVerbose(boolean verbose)
Enables/disables verbose logging |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Accurev()
| Method Detail |
|---|
public void setStream(java.lang.String stream)
stream - the name of the streampublic void setVerbose(boolean verbose)
verbose - set to true to enable verbose loggingpublic void setProperty(java.lang.String propertyName)
propertyName - the name of the property
public void validate()
throws CruiseControlException
validate in interface SourceControlCruiseControlException
public java.util.List getModifications(java.util.Date lastBuild,
java.util.Date now)
getModifications in interface SourceControllastBuild - the date and time of the last successful buildnow - the current date and time
public boolean parseStream(java.io.InputStream input)
throws java.io.IOException,
CruiseControlException
transaction <id>; <verb>; YYYY/MM/DD hh:mm:ss ; user: <user>
# <comment>
\.\PathTo\FileChanged.cpp <version>
Where
parseStream in interface AccurevInputParserinput - the output of the "accurev hist" command run
java.io.IOException
CruiseControlException - if fatal errors are foundpublic void setRunner(Runner runner)
public java.util.Map getProperties()
SourceControl
getProperties in interface SourceControl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||