|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.cruisecontrol.CVSElement
This class implements the SourceControlElement methods for a CVS repository. The call to CVS is assumed to work without any setup. This implies that if the authentication type is pserver the call to cvs login should be done prior to calling this class.
Constructor Summary | |
CVSElement()
|
Method Summary | |
static java.lang.String |
formatCVSDate(java.lang.Object o)
(PENDING) Only used for testing... |
java.util.Set |
getEmails()
Returns a Set of email addresses. |
java.util.ArrayList |
getHistory(java.util.Date lastBuild,
java.util.Date now,
long quietPeriod)
Returns an ArrayList of Modifications detailing all the changes between now and the last build. |
long |
getLastModified()
Gets the last modified time for this set of files queried in the getHistory() method. |
void |
setCvsroot(java.lang.String cvsroot)
Sets the CVSROOT for all calls to CVS. |
void |
setLocalWorkingCopy(java.lang.String local)
Sets the local working copy to use when making calls to CVS. |
void |
setTag(java.lang.String tag)
Set the tag to use when running CVS log. |
void |
setTask(org.apache.tools.ant.Task task)
Allows the caller to set the task, which will be used for logging purposes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CVSElement()
Method Detail |
public static java.lang.String formatCVSDate(java.lang.Object o)
public void setCvsroot(java.lang.String cvsroot)
cvsroot
- CVSROOT to use.public void setLocalWorkingCopy(java.lang.String local)
local
- String indicating the relative or absolute path
to the local working copy of the module of which
to find the log history.public void setTag(java.lang.String tag)
tag
- a tag, a branchpublic void setTask(org.apache.tools.ant.Task task)
setTask
in interface SourceControlElement
task
- Task to use.public java.util.Set getEmails()
getEmails
in interface SourceControlElement
public long getLastModified()
getLastModified
in interface SourceControlElement
public java.util.ArrayList getHistory(java.util.Date lastBuild, java.util.Date now, long quietPeriod)
getHistory
in interface SourceControlElement
lastBuild
- Last build time.now
- Time now, or time to check.quietPeriod
- NOT USED.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |